# plantx-console-ui **Repository Path**: plantx/plantx-console-ui ## Basic Information - **Project Name**: plantx-console-ui - **Description**: No description available - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-27 - **Last Updated**: 2024-11-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # console-ui # 项目结构 ├── build // 打包相关目录
├──├── deploy // 打包工具相关代码目录
├──├──├── config.ts // 打包配置文件
├──├──├── index.ts // 打包脚本主文件
├──├── preview.html // 打包预览页面
├──├── util.ts // 打包通用方法提取
├── deploy // 打包压缩包文件目录
├── dist // 打包静态文件目录
├── node_modules // npm包
├── public // 图标等存放目录
├── src
├──├── assets // 静态资源目录
├──├──├── images // 图片目录
├──├──├── styles // css样式目录
├──├──├──├── common.scss // 基础样式,mixin封装等
├──├──├──├── global.scss // 全局样式,第三方ui样式调整
├──├──├──├── reset.css // css reset
├──├── components // 组件封装目录
├──├── config // 项目配置相关目录
├──├── generate // 代码生成相关代码目录
├──├── hooks // 钩子方法目录
├──├── layout // 页面布局结构目录
├──├── router // 路由
├──├── store // pinia仓库
├──├── types // ts定义文件
├──├── utils // 通用方法
├──├── views // 页面文件
├── App.vue
├── .env.development // 开发环境变量
├── .env.preview // 预览环境变量
├── .env.production // 生产环境变量
├── components.d.ts // 组件自动引入声明文件
├── index.html # 项目指令 `dev` 本地开发
`build` 打包
`build:preview` 打包预览,基于`visualizer`生成打包分析页面文件预览
`preview` vite本地预览模式
`deploy:[dev/prod]` 将打包完的文件发布到服务器(`dev`测试服务器 / `prod`正式服务器)
`rollback:[dev/prod]` 将服务器版本备份前端文件回滚
`deploy:clear` 清除本地打包发布压缩包文件 # 项目主要工具包 | 名称 | 文档 | | --- | --- | | naive-ui | [https://www.naiveui.com/zh-CN/os-theme](https://www.naiveui.com/zh-CN/os-theme) | | lodash | [https://www.lodashjs.com/](https://www.lodashjs.com/) | | dayjs | [https://dayjs.fenxianglu.cn/](https://dayjs.fenxianglu.cn/) | | pinia🍍 | [https://pinia.vuejs.org/zh/](https://pinia.vuejs.org/zh/) | # 开发文档 [语雀 - console前端开发手册](https://plantx.yuque.com/yvgf0k/console-ui)