🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

umi-plugin-gen-template

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

umi-plugin-gen-template

A umi plugin

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

umi-plugin-gen-template

A umi plugin

Install

pnpm i umi-plugin-gen-template -D

Usage

Configure in .umirc.ts,

export default {
  plugins: [["umi-plugin-gen-template"]],
};

使用方式

"scripts":{
  "gen": "max gt",
}

控制台输入

npm run gen 文件名
// 例
npm run gen home

相关模板

目前内置了两套模板

formlist可以根据自己的需要进行选择

todo

模板配置的更加灵活,或者变更为在线模板

LICENSE

MIT

FAQs

Package last updated on 06 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts