0.1.0 • Published 6 years ago
news-pages v0.1.0
项目目录
my-app/
README.md
node_modules/
package.json
public/
index.html
favicon.ico
src/
common/
pages/
static/
App.css
App.js
App.test.js
index.css
index.js
logo.svg
Reducers
Redux
Router
初始化
1.推荐使用yarn
来管理依赖包,可以通过以下脚本来安装yarn
npm install -g yarn
2.安装依赖包
npm install
调试与编译
1.调试
yarn start
默认端口3002,浏览器会自动打开,导航到 http://localhost:3002
2.编译
npm run build
自动化测试
npm test
弹出配置项
npm run eject
0.1.0
6 years ago