0.3.24 • Published 6 months ago

create-middle v0.3.24

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

create-umi

通过命令行创建永辉大前端中台应用。

使用

$ yarn create umi [appName]

OR

$ npx create umi [appName]

模版

  • 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.

使用样例

$ yarn create umi

? 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

FAQ

yarn create middle command failed

这个问题基本上都是因为没有添加 yarn global module 的路径到 PATH 环境变量引起的。

先执行 yarn global bin 拿到路径,然后添加到 PATH 环境变量里。

$ yarn global bin
/usr/local/bin

你也可以尝试用 npm,

$ npm create umi

或者手动安装 create-middle,并执行他,

$ npm install create-middle -g
$ create-middle

LICENSE

MIT

0.3.20

8 months ago

0.3.24

6 months ago

0.3.23

7 months ago

0.3.19

8 months ago

0.3.18

8 months ago

0.3.6

10 months ago

0.3.7

10 months ago

0.3.17

8 months ago

0.3.16

8 months ago

0.3.15

8 months ago

0.3.14

8 months ago

0.3.13

9 months ago

0.3.12

9 months ago

0.3.5

10 months ago

0.3.4

11 months ago

0.3.2

11 months ago

0.3.3

11 months ago

0.3.1

11 months ago

0.3.0

11 months ago

0.2.12

11 months ago

0.2.11

11 months ago

0.2.10

11 months ago

0.2.9

11 months ago

0.2.8

11 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.5

11 months ago

0.2.4

11 months ago

0.2.3

11 months ago

0.2.2

12 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.2.0-beta.18

12 months ago

0.2.0-beta.17

12 months ago

0.2.0-beta.16

12 months ago

0.2.0-beta.15

12 months ago

0.2.0-beta.14

12 months ago

0.2.0-beta.13

12 months ago

0.2.0-beta.12

12 months ago

0.2.0-beta.11

12 months ago

0.2.0-beta.10

12 months ago

0.2.0-beta.9

12 months ago

0.2.0-beta.8

12 months ago

0.2.0-beta.7

12 months ago

0.2.0-beta.6

12 months ago

0.2.0-beta.5

12 months ago

0.2.0-beta.4

12 months ago

0.2.0-beta.3

12 months ago

0.2.0-beta.2

12 months ago

0.2.0-beta.1

12 months ago

0.1.54

12 months ago

0.1.53

12 months ago

0.1.52

12 months ago

0.1.51

12 months ago

0.1.50

12 months ago

0.1.49

12 months ago

0.1.48

12 months ago

0.1.47

12 months ago

0.1.46

12 months ago