一款不包含框架(例如:Vue、React、Angular 等)的 Webpack 启动器
一款不包含框架(例如:Vue、React、Angular 等)的 Webpack 启动器
地址见:https://github.com/SinanMtl/webpack-simple-starter
build/ # Webpack configurations
config/ # Dev and prod configurations
src/ # Project development files
|_ scripts/ # Javascript files
|_ styles/ # Style files (scss)
|_ views/ # HTML templates (pug)
static/ # Static files (Like fonts, images)
特性
Bootstrap and depended javascript frameworks like jquery. (Client)
Babel.js for ES6 compile
Sass for CSS
Pug for HTML template
eslint
hot-reload
使用
npm install
npm run dev
npm run build