An open API service indexing awesome lists of open source software.

https://github.com/ctq123/webpackrc

webpack配置,实现动态路由按需加载配置,结合antd的UI框架,实现主题定制,实现对js和css的分离打包,完善编译进度条的显示
https://github.com/ctq123/webpackrc

antd react react-router webpack4

Last synced: 2 months ago
JSON representation

webpack配置,实现动态路由按需加载配置,结合antd的UI框架,实现主题定制,实现对js和css的分离打包,完善编译进度条的显示

Awesome Lists containing this project

README

          

# antd + webpack配置

#### webpack4.0 + antd3.10 + react16 + react-router3.2

---

## 说明

webpack配置,实现动态路由按需加载配置,结合antd的UI框架,实现主题定制,实现对js和css的分离打包

## 安装

```bash
$ npm i

```
## 运行

```bash
$ npm run start
```
## 打包

```bash
$ npm run build:test
```
or
```bash
$ npm run build:prod
```