【文件属性】:
文件名称:react-webpack-starter:React 应用程序包含较小的 React 演示
文件大小:2.22MB
文件格式:ZIP
更新时间:2021-06-17 08:29:49
JavaScript
目标是通过将现有演示集成到该项目中来了解 React、Flux 和 Webpack。
演示
Material UI 文档页面 ( ) --
设置
安装 npm 包,安装 selenium-standalone server,mkdir 'build/'
> npm run deps
测试
运行测试
> npm run test
运行端到端测试
> npm run selenium
发展
从 config/dev-server-public 提供的静态资产。 当文件更改时,它会自动重新编译。
仅首次运行:
# wait until this finishes.
> npm run hot-dev-server
# in new terminal
> npm run start-dev
> open http://localhost:8080/
所有后续运行:
> npm