You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
创建model 等.
dva init mrc 当前项目路径/path/to/filename
dva init m 当前项目路径/path/to/filename
dva init r 当前项目路径/path/to/filename
dva init c 当前项目路径/path/to/filename
代码生成,能提供一个示例吗.
最近在用dva写后台管理系统.发现很多CURD的功能都高度相似,都由List Modal Search3个部分组成,且基本的代码都类似.
想按照dva g modal user 这样的命令,来生成
User.jsx
UserSearch.jsx
UserSearch.less
UserList.jsx
UserList.less
UserModal.jsx
UserModal.less
然后在这个基础上再针对业务做调整.
能否在生成的脚手架中添加一个generator文件夹,在这文件夹下写自定义的模板文件,跟命令配置
The text was updated successfully, but these errors were encountered: