Files
Web_Template_Vue3_Dev/plopfile.js
MomoWen 3e2da1115e
Some checks failed
Call HTTPS API / build (push) Has been cancelled
初始化拉取,原文件名:admin-plus-webpack5
2025-12-26 20:43:10 +08:00

12 lines
476 B
JavaScript

const viewGenerator = require('plop-templates/view/prompt')
const curdGenerator = require('plop-templates/curd/prompt')
const componentGenerator = require('plop-templates/component/prompt')
const mockGenerator = require('plop-templates/mock/prompt')
module.exports = (plop) => {
plop.setGenerator('view', viewGenerator)
plop.setGenerator('curd', curdGenerator)
plop.setGenerator('component', componentGenerator)
plop.setGenerator('mock&api', mockGenerator)
}