初探react
Introduction
- version 1.0
- created by Create-React-App
- SPA
- react + react-router + mobx + sass
- Decorator added to webpack
Steps(windows)
- yarn install
- Enter the folder fix, and run fix.bat
- yarn start, or run dev.bat, to start project
- The design width is set to 750, please use px2rem(xxx) to converse px to rem, eg: width:px2rem(100)
PS: If you fail to install node-sass, run yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass, and then reinstall