Skip to content

基于 Vue3+Ts+Vite+Pinia+Vue Router+ELement Plus+Axios 的前端基础模板

Notifications You must be signed in to change notification settings

PengPeng-Qi/vue3.0-element_plus-starter-template

Repository files navigation

management-portal-template

前端基础公共模板

技术栈 🪜

  • 技术栈:Vue3 + TypeScript + Vite + Axios + Pinia + Vue Router
  • UI框架:Element Plus
  • 项目构建与代码管理:Eslint + Stylelint + Prettier + Husky + Lint-Staged + CommitLint + Commitizen

项目功能 🔨

  1. 自动集成 VueVue RouterPinia
  2. 自动导入 src/components 目录下的公共组件,无需注册为全局组件
  3. 允许自定义组件的 name 属性
  4. 实现 Element Plus 的按需加载,并支持自定义主题色
  5. git commit 前自动执行 eslintstylelintprettier 代码规范检查
  6. git commit 时校验提交信息的规范性 commitlint
  7. 支持 productiondevelopment 环境的不同配置
  8. 实现 pinia 状态管理的持久化
  9. 通过插件全局注册了自定义指令
  10. 路由切换时进度条显示
  11. 支持根据不同环境配置是否移除 console.logdebugger
  12. VSCode 插件推荐
  13. 包含自定义的 404 错误页面
  14. 集成国际化配置
  15. 集成 code inspector