Webpack template for quick start with Typescript for scripts, Pug for templates and SCSS for styles. Eslint is used for linting scripts and Stylelint used for linting scss.
npm install --legacy-peer-deps
If you get an error with ajv then run the command
npm dedupe --force
The pages are located in the src/app/pages and are added automatically to the build.
To add blocks (pug mixin + scss + script), you need to add them to the src/app/blocks and add
@forward to the src/app/blocks/_index.scss
The sprite is build automatically when the application is launched from the folder src/icons.
To manually build a sprite, run the command:
npm run icons