ths-tools
v1.1.7
Published
The tools used to build new page
Downloads
4
Readme
介绍
命令行方式 生成开发页面的库
ths-tools page -n demo
配置文件
新建文件 .tpl/.toolrc.ts
module.exports = {
template: {
page: {
content: PAGE_CONTENT,
regx: /{P_NAME}/,
},
component: {
content: COMPONENT_CONTENT,
regx: /{C_NAME}/,
},
},
};