esbb48 / webpack-nunjucks-boilerplate

Static web page by pug, webpack, sass ... etc. Just focus on html content.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack-nunjucks-boilerplate

Static web page by nunjucks, webpack. It only focus on html content.

Tool

  • bootstrap@4.3.1
  • nunjucks
  • pre-commit
  • webpack

Start

npm install
npm run dev

LiveReload or reload page by yourself.

When you commit, it will trigger pre-commit command to build file. If you want to skip command, please add option --no-verify or -n.

eg: git commit 'Update readme.md' -n

Deploy Dist to Master branch

npm script will deploy ./dist folder to master branch

npm run deploy

Note: We will auto-build ./dist folder when you pre-commit

About

Static web page by pug, webpack, sass ... etc. Just focus on html content.

License:MIT License


Languages

Language:JavaScript 64.2%Language:HTML 35.8%