- 主要通过环境变量差异化打包替换个人logo以及简历内容,通过env.development进行差异化配置
- 在
/utils/config.ts
中可以获取到所有的差异化环境变量,在模板中或者ts文件中可以引入/utils/config.ts
来获取差异化变量进行展示打包
目前使用的plugins
- auto-imports
- auto-components
- mock
- wind
pages/
├── index.vue
├── meta.ts //meta.ts代表router的meta
// 如果有二级目录请保持与一级目录的结构一致
请仿照在router/index.ts
中的setupRouter
方法
请将所有的类型按模块在model
中创建