news-pages
v0.1.0
Published
``` 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 ```
Downloads
24
Readme
项目目录
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 yarn2.安装依赖包
npm install 调试与编译
1.调试
yarn start默认端口3002,浏览器会自动打开,导航到 http://localhost:3002
2.编译
npm run build自动化测试
npm test弹出配置项
npm run eject