Go to file
Ray Elliott 53f1cb4447 rename html tenmplate path identifier 2020-05-19 16:03:38 +01:00
src add mustache templating 2020-05-19 15:58:29 +01:00
.browserslistrc restructure directory structure 2020-05-01 15:30:14 +01:00
.eslintignore restructure directory structure 2020-05-01 15:30:14 +01:00
.eslintrc.js restructure directory structure 2020-05-01 15:30:14 +01:00
.prettierrc Update '.prettierrc' 2020-05-15 21:41:38 +03:00
README.md add mustache templating 2020-05-19 15:58:29 +01:00
babel.config.js restructure directory structure 2020-05-01 15:30:14 +01:00
gulpfile.js rename html tenmplate path identifier 2020-05-19 16:03:38 +01:00
package.json add mustache templating 2020-05-19 15:58:29 +01:00
yarn.lock add mustache templating 2020-05-19 15:58:29 +01:00

README.md

Build Directory

Default build directory is ./build. To change edit gulpfile.js.

Implemented

  • JS transpilation, minification with Babel, Terser.
  • SASS compilation, css minification.
  • Mustache templating
  • BrowserSync.

TODO

  • Image optomisation.

Mustache Templates

Include a template with:

{{> templates/example}}

Templates are relative to the HTML file and the .mustache extension must be ommitted.