Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>umi_template_createNew to Visual Studio Code? Get it now.
umi_template_create

umi_template_create

chengxs

|
105 installs
| (0) | Free
umi项目模块创建
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Welcome to your VS Code Extension

What's in the folder

基于Umi框架的代码组织方式开发一个新功能。以用户登录为例

父级目录 /src/user

当我们开始coding的时候,则需要创建

/src/user/login/index.jsx

/src/user/login/index.module.less

/src/user/login/Component

/src/user/login/model.js

/src/user/login/server.js

使用此插件可以一键创建一个模块,并生成模板代码

Get up and running straight away

  • 右击/src/pages/

  • 点击create Umi module,会弹出一个输入框,输入模块名,点击回车

  • 创建完成

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft