GovCMS post installation cleanup
cd themes/<SUBTHEME_MACHINE_NAME> nvm use npm install npm run builddist.components-civictheme .storybook-static components_combined node_modules
Last updated
Was this helpful?
Build front-end assets
cd themes/<SUBTHEME_MACHINE_NAME>
nvm use
npm install
npm run buildCommit built assets
Modify .gitignore file in your new theme and remove the following line:
distAdd the following to .gitignore in both sub-theme and CivicTheme:
.components-civictheme
.storybook-static
components_combined
node_modulesCommit the built assets to your repository
Content Provisioning (if skipped during installation):
See Content provisioning for CivicTheme for detailed instructions
Delete the following from CivicTheme:
civictheme_create_subtheme.php
civictheme_starter_kit directory
Last updated
Was this helpful?
Was this helpful?