react spa yeoman
First, install Yeoman and generator-weather-react using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-weather-react
Then generate your new project:
yo weather-react
npm install 安装
npm run clean 清理dist目录
npm run dist 发布
npm start 开发
npm run zip 打包dist目录
npm run ftp-ww 发布到外网测试
npm ftp-wx 发布到微信测试
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
MIT © chenjinxinlove