Awesome
React(Anujs)-webpack-boilerplate
A simple Webpack boilerplate with Anujs.
Features
- Theoretically Polyfill for IE6+ support !
- Multiple pages support!
- Webpack 1.13.0 based
- es3ifyPlugin based (good for sourcemap)
- React Router 2.3.0 support
- JSX support
- LCSS support
- Babel with @babel/preset-env
- Precommit hooks:
- StyleLint with stylelint-config-standard rules
- ESLint with eslint-config-standard rules
- Automatically fix code style using Postcss
Usage
-
Install:
npm install
-
Run dev server:
npm run dev
-
Run IE dev server:
npm run iedev
-
Create page:
npm run createpage -- --n='your page name'
-
Build:
npm run build