# Vue3-ElementPlus-Vite
**Repository Path**: ryzenpan/vue3-element-plus-vite
## Basic Information
- **Project Name**: Vue3-ElementPlus-Vite
- **Description**: 基于Vite构建的Vue3 Setup语法+Element Plus的后台管理系统模版
- **Primary Language**: JavaScript
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 14
- **Forks**: 2
- **Created**: 2021-05-30
- **Last Updated**: 2025-04-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Vue3 + Element Plus + Vite 后台管理系统模板
基于以下技术构建:
## 介绍
**Vue3 + Element Plus + Vite** 是基于Vue3编写的后台管理系统,UI框架使用了ELement Plus,构建工具使用Vite。
- 项目使用Vue实验性语法 进行编写,其中用到了Vue3的Composition API、Vue Router4、VueX4等,Element组件也使用了Composition API模式下的写法。
- 项目出发点的让大家可以快速理解Vue3的Composition API的写法,可以快速上手Vue3和Element Plus,仅仅用于学习,大家如果想构建一个适合自己项目的基础脚手架,估计还得增加不少功能。
- Vite的构建工具自然不用多说,用过就回不去Webpack了,启动项目时间不到1S,运行时响应也非常快,希望尤大大可以尽快适配Vite到下一代的Vue-Cli。
- 项目我也会继续更新,后续计划是增加一些二次封装Element表单表格组件,让新手使用起来更加简单!
- 希望大家可以多多支持哈~~~
## 项目准备
你需要先安装 [node](https://nodejs.org/) 和 [Git](https://git-scm.com/) 工具,项目依赖有[axios](http://www.axios-js.com/)、[element-plus](https://element-plus.gitee.io/#/zh-CN)、[vue](https://cn.vuejs.org)、[vue-router](https://router.vuejs.org/zh-cn/)、[vuex](https://vuex.vuejs.org/zh-cn/)、[vite](https://github.com/vitejs/vite)等
## 项目截图
## Script代码示例(Login)
```vue
...
```
## 开始
```bash
# clone the project
git clone https://gitee.com/ryzenpan/vue3-element-plus-vite
# enter the project directory
cd vue3-element-plus-vite
# install dependency
npm install
# develop
npm run dev
```
This will automatically open http://localhost:3000
## 构建
```bash
npm run build
```
## 在线Demo
稍后部署
## 支持我
如果项目对你有帮助,麻烦帮我点个Star就好了,哈哈哈~~~
## 浏览器支持
由于使用了Vue3,故项目不支持IE11,详细兼容性问题请浏览[Vue3官方文档](https://www.vue3js.cn)
## License
[MIT](https://gitee.com/ryzenpan/vue3-element-plus-vite/blob/master/LICENSE)
Copyright (c) 2021-Present Ryzen