Installing External Packages
- Add-ons & Dependencies
- Additional Features
- Dependencies
- Dependencies Browser
- External Packages
- Mattercraft
To install an external package, make sure you are inside the From NPM tab at the top of the Dependencies Browser. From here, you should follow these instructions:
- Use the search bar to find the relevant package by its name
- Click on the desired package to open up the information dialog
- Click on the
Install
button, which will instantly install the dependency to your project
External packages are not guaranteed to work out of the box with Mattercraft and may require additional configuration; such as installing the corresponding
@types
package if the package does not come with TypeScript types. In some cases, you may need to write your own type definitions.
Next article: Using External Packages