Installing External Packages

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:

Adding an external package using the Add-ons and Dependencies panel
  1. Use the search bar to find the relevant package by its name
  2. Click on the desired package to open up the information dialog
  3. 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

zapcode branded_zapcode i