This theme implements UI Kit into GovCMS. It makes use of the templates provided in govcms8_uikit and extends them to work with Drupal. It also provide styling for the layout templates and modifiers from govcms8_foundations module.
- Run command
npm run setup
. This may take a while – be patient, do some exercise. - Copy and rename default.config-local.json to config-local.json.
- Update content of config.local.json to suite your local environment.
- run command
npm run gulp
This will produce:
- compressed CSS output
- optimized Image assets
- minified JS
- run command
npm run gulp dev
This will produce:
- nested CSS output
- un-minified JS
- source maps for both CSS and JS
- watch task for changes in SCSS and JS files
- BrowserSync links
- run command
npm run js-lint
This will check for common errors in your JS files. Its not a part of the watch task.
- run command
npm run styleguide
It is using KSS-Node style-guide with custom twig template.