1.0.5-0.0.10 • Published 10 months ago
create-h0-template v1.0.5-0.0.10
使用方法
npm i -g create-h0-template
create-h0-template <app-name> <template-name> [options]
或者
npx create-h0-template <app-name> <template-name> [options]
其中app-name指代页面文件夹名称,template-name则指代模板名称
可选项
- --template-version 设置模板版本(目前版本未区分)
- -cli,--cli-version 设置H0架构版本,目前版本有hzeroJs、hzeroCli,默认为hzeroJs
支持模板类型
H0
- listPage: 普通列表页面
- filterList: filterBar列表页面
- headLineList 头行列表,注意配置头的主键配置,查询条样式为普通列表页面样式(参考listPage)
PDA
注意事项
node 版本 >= 14
由于会对路由进行写入操作,所以命令执行完毕后请重新格式化一下文件,建议通过eslint+prettier辅助插件(一般项目上都已配置)进行代码格式化。
1.0.5-0.0.10
10 months ago
1.0.5-0.0.9
10 months ago
1.0.5-0.0.7
11 months ago
1.0.5-0.0.8
10 months ago
1.0.5-0.0.5
11 months ago
1.0.5-0.0.6
11 months ago
1.0.5-0.0.3
11 months ago
1.0.5-0.0.4
11 months ago
1.0.5-0.0.1
11 months ago
1.0.5-0.0.2
11 months ago
1.0.5-beta
11 months ago
1.0.5
11 months ago
1.0.4
11 months ago
1.0.3
11 months ago
1.0.2
11 months ago
1.0.1
11 months ago
1.0.0
11 months ago