|
hai 1 semana | |
---|---|---|
.. | ||
components | hai 1 semana | |
README.md | hai 1 semana | |
index.hbs | hai 1 semana | |
prompt.js | hai 1 semana |
npm run new
view - generate a view
table-view - generate a table-view
component - generate vue component
选择table-view
请输入组件目录名 输入要新建的文件夹名称,src/view下名称 例如输入:userCenter/mypage 则会在src/view/userCenter/mypage建立模板
请输入表格标题 例如输入:车场配置列表
请选择侧边树 按需选择。
none为不带树的,需要自己找地方调用search()或getList()建议在conditions组件中mounted调用,不需要conditions组件的直接在index中调用
以上流程可以在plop-templates/table-view/prompt.js中进行更改