Skip to content
react全家桶框架
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist/api init Sep 2, 2017
mock
src fixes #3 Feb 6, 2018
.babelrc add babel-polyfille transform-runtime Sep 17, 2017
.gitignore merge webpack config Sep 4, 2017
README.MD Update README.MD Mar 5, 2018
package-lock.json update package-lock.json Apr 7, 2018
package.json fixes #3 Feb 6, 2018
postcss.config.js add postcss Sep 17, 2017
webpack.common.config.js
webpack.config.js add css modules Dec 13, 2017
webpack.dev.config.js use json-server Dec 18, 2017

README.MD

react-family

从零搭建react-family框架教程(教程会不断更新)

希望您能和我一起完善这个框架!欢迎fork

开发坏境启动

  1. npm install
  2. npm start
  3. npm run mock 打开json-server,模拟ajax数据
  4. 浏览器打开http://localhost:8080

生产坏境部署

  1. npm run build

  2. 拷贝dist文件夹至服务器即可

You can’t perform that action at this time.