rhjy-cli
v1.0.12
Published
荣怀前端vueh5脚手架
Downloads
27
Readme
多入口项目脚手架
基于sass-h5多入口项目快捷创建项目脚手架
使用说明
1.安装脚手架
npm i rhjy-cli -g
yarn global add rhjy-cli
2.进入sassH5项目 初始化你的子项目
rhjy init 你的子项目
3.运行子项目
rhjy run 你的子项目 运行环境
example:
运行demo项目,默认开发环境
- rhjy run demo
运行demo项目,指定测试环境
- rhjy run demo test
4.页面访问路径
http://127.0.0.1:4000/你的子项目
5.打包项目
打包demo项目,默认生产环境(prod)
- rhjy build demo
打包demo项目,指定测试环境
rhjy build demo test
fix
- 开发启动命令替代vite 运行命令
- 开发打包命令,替代vite build ,指定单个文件夹打包
todos
- rhjy run folder
该命令指定运行folder文件,实际项目启动所有文件(等同于执行vite)
期望效果: 指定运行一个文件,其他文件不同时启动