Static website generator PUG/SCSS/ES6
Work on app/ folder and gulp build in build/.
Install NVM
Use the version 7.5.0 of NodeJS.
nvm use
Go to sass-lang.com/install for installation in command line.
Got to https://yarnpkg.com/docs/install
yarn install
yarn run start
yarn run build
yarn run clean
- Minify HTML
- Optimise images
- Optimise and minify scripts with webpack
- Optimise and minify styles with CSSO
The PUG files are located in ./app/template
- layout : layout of html files generated
- mixin : for reusable pattern
- pages : the content of html files generated
- partial : includes of html pattern
- config.pug : global variables
The Javascript files are located in ./app/assets/js
.
Use the ES6 syntaxe Babel convert it in ES5 for you via webpack.
The Image files are located in ./app/assets/img
Accepted file formats : - jpg - png - gif - svg
The font files are located in ./app/assets/font