You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lara Schenck edited this page Mar 30, 2021
·
4 revisions
OUT OF DATE as of 3/30/21
In progress - do not follow this yet!
In any project:
If working in a new project, add a directory called assets/ inside the theme folder. If in an existing project, you will use the directory called 'larva' generated by the command.
Step 1: Install Larva
# If there is already a package.json, skip this step.
$ npm init
# This command will install Larva and its dependencies, and generate some starter files.
$ npx @penskemediacorp/larva init --save-dev
This init command will copy a directory called larva/ that contains a starter files and config.
Step 2: Move contents larva/ into the root of assets.