Webpack 5 + Babel 7 + React 16 新版前端初始包
使用新版 Webpack 體驗極速的 bundle 速度!
內建以下環境:
- 基底
- react
- 路由
- react-router
- connected-react-router (棄用react-router-redux)
- state 管理
- redux
- API 與非同步流程控制
- redux-saga
- isomorphic-fetch
- CSS
- stylus
- postcss
- autoprefixer
- cssnano
- icon 包
- @fortawesome
- 多國語系
- @formatjs
- Dev
- redux-logger
- webpack-dev-server
- 打包
- webpack
clone this project
cd iq-react2
npm install
npm run start
npm run build
- Node.js: > v14
- npm: > 6
- react: > 16
- redux: > 4
- react-router-dom: > 5
- connected-react-router: > 6
- postcss-loader: > 3
- react-intl: > 4
- @fortawesome/react-fontawesome: > 0.19
- @babel/core: > 7
- webpack: > 5
Copyright 2020-2021 Zap
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.