github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/static_source/admin/plopfile.js (about) 1 const viewGenerator = require('./plop/view/prompt.js') 2 const componentGenerator = require('./plop/component/prompt.js') 3 4 module.exports = function (plop) { 5 plop.setGenerator('view', viewGenerator) 6 plop.setGenerator('component', componentGenerator) 7 }