Project template for static site
Firstly, clone the project starter kit
git clone git@github.com:Volosojui/project-starter.git project-folder-name && cd project-folder-name
then install all the packages using npm
npm ci
or using yarn
yarn
This mode generates sourcemaps for styles and scripts, so you can always easily debug your code
npm run start
or using yarn
yarn start
npm run build
or using yarn
yarn build
npm run build:prod
or using yarn
yarn build:prod
npm run deploy
or using yarn
yarn deploy
npm run deploy:build:prod
or using yarn
yarn deploy:build:prod
If you would like to use this feature, you should:
- add any svg icon inside
svgicons
folder - then uncomment the following lines:
in layout.pug
:
.svg-store
include ./../../svgicons/svgicons.svg
in _bundle.scss
:
@import 'partials/svg-store';
@import 'partials/svg-icon';
! If you skip the first step, you will get an error in the console
> 0.25%
not dead
node >= 14