- Standard Ant Design Pro template.
- Interactive command line.
- Common pages & components & models & services template.
- Support prettier-eslint
Prerequisites: Node.js (>=6.x, 8.x preferred), npm version 3+ and Git.
$ npm install ant-design-pro-cli -g$ pro new // will download ant-design-pro in current directory
$ pro new --no-auto-install // not auto install dependencies$ cd your application
$ pro g$ pro p [filePath]Example:
$ cd your application
$ pro p ./test.jsCreating a directory named 'tpl' in your project's root path, and all file in this folder will can be choose in pro cli:
- remove 'antd@next'
- add
prettier-eslintsupport- run
pro p [filePath]orpro prettier [filePath]
- run
- add
--no-auto-installconfig - fixed typo
- new simple templates
- standard: all functional Ant Design Pro scaffold
- simple: simple version of Ant Design Pro with hash history
- browser history simple: simple version of Ant Design Pro with browser history
- change the command
- support shorthand of command
- pro new -> pro n
- pro generate -> pro g
- support custom file template
- support shorthand of command
- change the command
- new -> generate
- init -> new
- change the command
- new -> generate
- init -> new
- change the command
- init ->
new a Ant Design Pro scaffold - new ->
generate templates
- init ->

