# 知识库 **Repository Path**: skygoodshow/knowledge-base ## Basic Information - **Project Name**: 知识库 - **Description**: 知识库,采用G6的描点方法,在画布上面打点 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-24 - **Last Updated**: 2025-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-sola-admin ## Project Setup ```sh pnpm install ``` ### Compile and Hot-Reload for Development ```sh pnpm dev ``` ### Type-Check, Compile and Minify for Production ```sh pnpm build ``` ### Run Unit Tests with [Vitest](https://vitest.dev/) ```sh pnpm test:unit ``` # When testing on CI, must build the project first pnpm build # Runs the end-to-end tests pnpm test:e2e # Runs the tests only on Chromium pnpm test:e2e --project=chromium # Runs the tests of a specific file pnpm test:e2e tests/example.spec.ts # Runs the tests in debug mode pnpm test:e2e --debug ```` ### Lint with [ESLint](https://eslint.org/) ```sh pnpm lint ```` ### 发版注意事项 - major 主版本号 - minor 此版本号 - patch 补丁版本 ```sh pnpm version xxx -m '特性版本更新' ``` - 执行这条命令会更新 package.json 中的 version 字段。 - 同时会执行 conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md,更新 CHANGELOG.md。 ### 环境变量 ├── .env # 基础环境变量配置文件(优先级最低) ├── .env.development # 开发环境变量配置文件 ├── .env.production # 生产环境变量配置文件 ├── .env.staging # 预发布环境变量配置文件 ├── .env.xxxxx # 视项目情况而定 ### TODO LIST - [x] 框架基本依赖引入,工作流相关配置完善。 - vue3.x、vite3.x - eslint、prettier、pretty-quick、stylelint、commitlint、editorconfig、conventional-changelog - .vscode、.npmrc、package.json[script] - resetcss、tailwindcss、cssnano - [x] 组件库、工具库等主要依赖引入,配置初始化。 - @vueuse/core、@vueuse/motion - elementU Plus(全局引入)、@smallwei/avue、nprogress、echarts、vue-echarts[CommonEcharts] - axios、vue-request(待定)、qs、js-cookie、lodash-es、lodash-unified(ts) - unplugin-auto-import、unplugin-vue-components - icons(vite-svg-loader、@iconify/vue、@iconify-icons/ep、@iconify-icons/mdi) - [x] 基础路由、页面布局、build - 首次加载 loading 动画 - 创建 build 文件,新增环境变量相关方法,提取 vite,构建相关代码到 build 文件。 - 引入 visualizer 构建产物体积分析插件,引入 viteCompress 优化代码体积。 - 创建基础路由(完善基础类型、创建基础路由、页面跳转动画、提供部分路由示例页面、新增 iframe 组件) - 完成基础布局 (vertical 布局、horizontal 布局、mix 布局、tagview 组件、breadCrumb 组件、search 组件) - 其他(cloc:代码、语言统计;svgo:svg 精简压缩;taze:依赖升级;mitt 发布订阅库;引入 unplugin-vue-define-options 插件) - [x] 请求封装、登陆页面、登陆接口调试、菜单接口调试 - 封装 axios 请求。(无感刷新、取消重复请求) - 登陆页面开发。(引入 typeit 打字机效果库) - 登陆接口调试。(对接 Cup 后端) - 完成权限菜单调试 (对接 Cup 后端) - 其他(todo: 布局微前端配置) - [x] 微前端相关配置完善,补充常用 hooks,登陆多租户 - 微前端子应用布局适配 - 多租户登录框 - 菜单管理页面、调试