-
Install dependencies with NPM/Yarn
yarn install
or
npm install
-
Generate the prototype and start php built-in server.
npm start
-
Browse http://localhost:8080/ for the prototype, http://localhost:8000/ for JsonPopulate
-
Adjust the path (relative) to the Drupal theme in the .npmrc file.
-
Synchronize the 'assets' folder to the theme with
npm run sync:drupal
- Note: this is a "destructive" operation, do not keep unmanaged files in the "assets" folder of your theme. *