scaffold-react
v1.0.0
Published
基于react开发的模板
Downloads
29
Maintainers
Readme
前端项目 模板
安装
项目地址:(git clone
)
git clone
通过npm
或者yarn
安装本地服务第三方依赖模块,
npm install
或者
yarn install
启动(接下来都直接使用yarn,如果习惯npm直接替换掉yarn就可以)
启动服务(http://localhost:8084/)
- 本地起服务打包的js在内存内
yarn start
发布代码
- 本打包命令实现多文件打包,打包出来的文件在dist文件中
yarn run build:test // 测试环境
或
yarn run build:pro // 正式环境