create-jiatu
v0.2.0
Published
Creates a UmiJS application using the command line.
Downloads
26
Readme
create-jiatu
Creates a UmiJS application/plugin/block/library using the command line.
Boilerplates
ant-design-pro
- Create project with a layout-only ant-design-pro boilerplate, use together with umi block.app
- Create project with a simple boilerplate, support typescript.plugin
- Create a umi plugin.
Usage Example
安装 create-jiatu,并执行他,
$ npm install create-jiatu -g
or
$ yarn global add create-jiatu
$ create-jiatu [appName]
? Select the boilerplate type (Use arrow keys)
ant-design-pro - Create project with a layout-only ant-design-pro boilerplate, use together with umi block.
❯ app - Create project with a simple boilerplate, support typescript.
plugin - Create a umi plugin.
? Do you want to use typescript? (y/N)
? What functionality do you want to enable? (Press <space> to select, <a> to toggle all, <i> to invert selection)
❯◯ antd
◯ dva
◯ code splitting
◯ dll
create abc/package.json
create abc/.gitignore
create abc/.editorconfig
create abc/.env
create abc/.eslintrc
create abc/.prettierignore
create abc/.prettierrc
create abc/.umirc.js
create abc/mock/.gitkeep
create abc/src/assets/yay.jpg
create abc/src/global.css
create abc/src/layouts/index.css
create abc/src/layouts/index.tsx
create abc/src/pages/index.css
create abc/src/pages/index.tsx
create abc/tsconfig.json
create abc/typings.d.ts
📋 Copied to clipboard, just use Ctrl+V
✨ File Generate Done
Questions & Suggestions
Please open an issue here.
LICENSE
MIT