wow-code
v1.1.5
Published
Generator Vue SFC Quickly
Downloads
4
Readme
wow-code
Gnerator Vue SFC Quickly
Install
yarn global add wow-code
# or
npm install -g wow-code
CLI
# output version
wow-code -V
# generator file
wow-code g <file-path> -c <config-path>
# start GUI
wow-code ui -p <port>
Config File
the config file is JSON,which like this:
{
"breadcrumbList": ["业务订单", "检查预约"],
"searchList": [
{
"type": "input",
"label": "姓名",
"param": "name",
}
],
"tableList": [
{
"label": "姓名",
"props": "name"
}
]
}
Develop
# start GraphQL Server
yarn install
npm link
cd ui && yarn install && yarn build
wow-code ui -p <port>
# start Vue in dev
cd ui && yarn dev