示例仅供参考,请以真机为主

项目结构

cool-uni
    ├──build vite 插件
    ├──cool 基础核心
    ├──mock 测试数据
    ├──pages 页面文件
    ├──router 路由导航
    ├──service 请求服务
    ├──static 静态文件
    ├──uni_modules uniapp插件
    │   ├── cool-ui ui库
    │   └── 其他
    ├──App.vue 挂载文件
    ├──uni.scss 常用样式变量
    ├──pages.json 页面配置
    ├──config.ts 配置文件
    ├──env.d.ts 描述文件
    ├──vite.config.ts vite 配置文件
    ├──tsconfig.json typescript 配置文件
    └──main.ts 入口文件
Last Updated: