Frontend scaffolding tool based on Gulp 4 and Webpack 4 using pugjs, SCSS
Heavily inspired by gulp-webpack-4-pug-scss-static-website(almost copy from this repo), but more simple and add i18n support.
npm i
cd mockapi && npm i
npm run dev
- dev servernpm run build
- build to dist foldernpm run production
- build minified version to dist foldersrc
- source files
components
- detached componentslayouts
- header and footer to create a basic page structurelocales
- i18n locales filespages
- pagescommon
- general styles and scripts
js
- js scriptsscss
- styles in .scss formatstatic
- any static resources that are copied to the root folder 'dist'
fonts
- fontsimg
- *.png, *.jpg images, faviconsvg
- icons in .svg formatdist
- final build of the project for production
assets
- static data
fonts
- fontsimg
- imagesjs
- scriptscss
- stylessvg
- svg files*.html
- all pagesindex.html
- start pagenpm i -g npm-check-updates
ncu -u
npm install
MIT
Author: Alexander Shiryakov ([email protected]), Jesse Liu