https://github.com/kaynewang/react-webpack-boilerplate
快速开始react+webpack开发环境搭建
https://github.com/kaynewang/react-webpack-boilerplate
react webpack
Last synced: 11 months ago
JSON representation
快速开始react+webpack开发环境搭建
- Host: GitHub
- URL: https://github.com/kaynewang/react-webpack-boilerplate
- Owner: KayneWang
- Created: 2018-03-08T09:35:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-13T07:47:58.000Z (almost 7 years ago)
- Last Synced: 2025-03-24T13:51:19.169Z (over 1 year ago)
- Topics: react, webpack
- Language: JavaScript
- Size: 16.6 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## react-webpack-boilerplate
基于 webpack4 快速搭建 react 开发环境,搭建教程[参考](https://github.com/KayneWang/blog/blob/master/webpack4-react.md)
### 执行命令
```shell
$ yarn install
```
### 本地开发
```shell
$ npm run start
```
打开 localhost:1234 查看效果
### 打包
```shell
$ npm run build
```
### 静态资源访问
```shell
$ npm run http-server
```