“目录结构内容解释”

This commit is contained in:
duyufeng
2024-08-06 08:35:09 +08:00
parent bb9be7b4e0
commit 8b448e9061

View File

@@ -26,3 +26,53 @@ Run `Volar: Switch TS Plugin on/off` from VSCode command palette.
4. Open the VSCode command palette
5. Search and run "Select TypeScript version" -> "Use workspace version"
test
#### 目录结构
|-- build 构建相关
|-- hx-ai-intelligent AI智能BSA系统
|-- mock 定义模拟数据(登录/登出/获取用户信息等)
|-- public 静态资源
|-- resources 资源文件
|-- src
|-- api 定义接口请求地址
|-- components 当前项目的公共组件
|-- ns-modal-form.vue 经过二次封装后的“弹窗”通用组件
|-- ns-steps.vue 经过二次封装后的“步骤条”通用组件
|-- config 配置文件
|-- app.config.ts(包含应用程序配置的对象包含api路径/组件配置等)
|-- directives 自定义指令在vue应用程序中设置全局指令
|-- enum 枚举用于http请求配置和错误代码的处理
|-- icon 图标svg图标文件
|-- router 路由
|-- store 状态管理
|-- theme 主题样式less/scss文件
|-- util 工具类
|-- debounce.ts 防抖函数(用于优化频繁出发的事件处理函数,例如窗口大小改变/滚动事件等)
|-- view 页面
|-- App.vue 根组件
|-- .env.development 当前项目开发环境配置
|-- .env.production 当前项目生产环境配置
|-- index.html 当前项目入口页
|-- tsconfig.json typescript配置
|-- vite.config.ts vite配置包含当前项目请求接口地址
|-- lib
|-- component 公共组件color/drawer/echarts/flowChart/form/modal/table/tree等组件的二次封装或将组件注册为插件形式使用
|-- paas 私有组件
|-- saas 私有组件
|-- type 类型定义
|-- use 自定义hook文件
|-- util http/axios等工具类
|-- node_modules 依赖包
|-- public 静态资源(不会被编译)
|-- src
|-- main.ts 入口文件(初始化saasInit函数的相关配置或服务的入口点。)
|-- type 声明定义应用程序的全局类型
|-- .env.development 开发环境配置
|-- .env.production 生产环境配置
|-- index.html 项目入口文件
|-- package.json 项目依赖包管理
|-- tsconfig.json typescript配置
|-- vite.config.ts vite配置
|-- README.md 项目说明