wow-code

1.1.5 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i wow-code

Weekly Downloads

4

Version

1.1.5

License

none

Unpacked Size

4.54 MB

Total Files

20

Last publish

Collaborators

  • yuyinws