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/scss
todist/index.css
- from
src/js
todist/bundle.js
- from
src/views
todist/
- from
src/images
todist/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