create-react-web
For web site developer who wants to use React.
欢迎 fork, 提交 PR --Skylor.min
Run Env.
type | version | note |
---|---|---|
node | >= 8.x |
Todolist
- React 16.x & React-Router 4.x
- Server Side Render (SSR)
- Code Splitting (use React-Router 4.X)
- smart title,keywords,description (TDK) for SEO
- auto asset manager
- auto svg icon
- auto changelog
- fetch data (ajax)
- ajax, connect, etc. HOC
- gulp tasks & webpack code
- webpack bundles analyzer
- mock server
- use less for css
- postcss & autoprefixer
-
cache init state (redis) - eslint (server & frontend)
- async await
Install
- (writing)
Usage
- (writing)
Server:
- express
- ejs
Frontend
- React 16.x
- React-Router 4.x
- Redux
- Less
CLI
- (developing)
eslint
npm list -g | grep eslint
├─┬ babel-eslint@8.0.3├─┬ eslint@3.18.0├─┬ eslint-config-airbnb@14.0.0│ └── eslint-config-airbnb-base@11.0.1├── eslint-plugin-babel@4.1.2├─┬ eslint-plugin-import@2.2.0│ ├─┬ eslint-import-resolver-node@0.2.3│ ├─┬ eslint-module-utils@2.0.0├─┬ eslint-plugin-jsx-a11y@3.0.2├─┬ eslint-plugin-react@6.10.3