This is a template for creating simple static websites without JS frameworks.
A blog post explaining the process can be found on wweb.dev
It uses:
- SCSS with linting and autoprefixer
- JavaScript with webpack using babel and linting
- minifying images
- html partials and minify with post-html
- browser-sync
The compiled files will go to the directory "/dist"
- from
src/scsstodist/index.css - from
src/jstodist/bundle.js - from
src/viewstodist/ - from
src/imagestodist/images
- Install dependencies
npm install
- Build resources
npm run build
- Watch for changes
npm run watch
Integrates smoothly with netlify:
https://static-website-template.netlify.com/
created by Vincent Will