This recipe creates a
package.jsonfile and allows you to import NPM packages into your
Note: this has been rebased on the latest
mainbranch and might not work properly on v1.3.0 and below. However, you should be able to work out how to apply it based on the diffs.
asdf installto install the Node version mentioned in
npm install -g npmto install NPM.
cd assets && npm install.
Now when you run the server, it should all be working.
cd assets && npm i tippy.js
Then, in your
import tippy from 'tippy.js';