直接说明以下信息即可:
exampleproduct / 商品mallrouter / modal / drawer示例:
在 example 应用里生成一个商品管理模块。
模块名 product,中文名 商品,放在 mall 目录下。
字段有 name、status、createdAt。
使用 drawer 模式,生成 mock,并同时生成路由。通常会新增以下内容:
apps/<app>/src/views/{path}/{name}/list.vueapps/<app>/src/views/{path}/{name}/detail.vue(仅 router 模式)apps/<app>/src/views/{path}/{name}/components/DetailForm/index.vueapps/<app>/src/api/modules/{fileName}.tsapps/<app>/src/api/modules/{fileName}.fake.ts(可选)