-
Notifications
You must be signed in to change notification settings - Fork 12
Guide: Adding Larva to a project
Lara Schenck edited this page Jan 17, 2020
·
4 revisions
In progress - do not follow this yet!
In any project:
Create an directory called larva/ inside the theme folder. If working in an existing theme, this will be separate from the existing assets
or client
directory. Inside the larva directory, run the following commands:
# Create a package.json and give it the name `theme-name-larva`
$ npm init
# This command will install Larva and its dependencies, and generate some starter files.
$ npx @penskemediacorp/larva init