axw-cli
v1.0.3
Published
pug转template、快速生成模板
Downloads
4
Readme
author: 常小伟 create: 2021-04-19 update: 2021-04-19
介绍
提升开发效率,将一些工具集成到axw-cli
中
安装
npm install axw-cli -g
帮助
$ axw -h
options:
-v, --version output version
-h, --help output help
commands:
ptoh <entry> <output> pug to html, entry & output is [name].vue
create <fileName> create template
版本
$ axw -v
1.0.3
pug转为html
$ axw ptoh entry.vue output.vue
read...0%
read...96.43%
read over
pug doing...
pug done
writing...
write over
√ pug to html success !
创建模板
$ axw create index.vue
? 请选择模板类型 (Use arrow keys)
? 请选择模板类型 pug
? 请选择模板 (Use arrow keys)
? 请选择模板 pageSearch
- creating...
√ create pageSearch success !
拉取代码
axw init demo