Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>antd-pro-pluginNew to Visual Studio Code? Get it now.
antd-pro-plugin

antd-pro-plugin

jikaibo

|
118 installs
| (0) | Free
script fragment
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Quick React antdPro

快速生成 antd-pro 业务代码模版并创建相关引入文件

提示

  1. 本指令快速生成antd-pro代码严格按照umi项目目录结构

  2. 项目目录结构必须严格按照(prejectName/src/pages)模式,否则会提示文件创建失败

Usage

  1. 在pages下面新建一个业务文件夹,名称如demo,然后在此文件下新建一个index.tsx文件;

  2. 在index.tsx文件里面输入 react-antd-pro.指令,根据弹出的执行提示选择生成代码模版;

  3. 成功之后会在index.tsx文件中创建相关业务代码,并在src/api下创建同名(demo)api文件,在src/services下面创建同名(demo)request服务文件

如果没显示提示,请键入 . 字符开启提示

If no prompt is displayed, type the character . to enable the prompt

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