This repo serves as simple static website starter.
- Nunjucks for templates
- SASS + PostCSS (autoprefixer) for stylesheets with source maps
- rollup.js + Bublé + eslint for ES6 javascript with source maps
fork
this repoclone
your forknpm install
to install all dependenciesnpm start
to start a dev server
After you have installed all dependencies run npm start
(aliases npm run development
and npm run watch
) to start local server which will watch for files changes and then rebuild and reload.
Build files using npm run production
Files are compiled into public/
folder.
Output folder can be changed in package.json
by changing "output" property
"config": {
"output": "public",
"port": "8080"
}