create-umi-fliggy

0.0.3 • Public • Published

create-umi

Creates a UmiJS application/plugin/block/library using the command line.

Usage

$ yarn create umi <appName>

Supported boilerplates

  • ant-design-pro - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
  • app - Create project with a simple boilerplate, support typescript.
  • block - Create a umi block.
  • library - Create a library with umi.
  • plugin - Create a umi plugin.

Example

$ yarn create umi

? Select the boilerplate type (Use arrow keys)
  ant-design-pro  - Create project with an layout-only ant-design-pro boilerplate, use together with umi block.
❯ app             - Create project with a simple boilerplate, support typescript.
  block           - Create a umi block.
  library         - Create a library with umi.
  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

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i create-umi-fliggy

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

211 kB

Total Files

73

Last publish

Collaborators

  • fateriddle