https://github.com/pdsuwwz/vite-starter
🐟 Starter template 基于 Vite 5 + Vue3 + Vuex + Element Plus + i18n + ESLint(v9) 国际化多语言中英文切换, 内置 Jest 单元测试
https://github.com/pdsuwwz/vite-starter
admin element element-plus eslint plus template vite vite5 vue vue3
Last synced: 7 months ago
JSON representation
🐟 Starter template 基于 Vite 5 + Vue3 + Vuex + Element Plus + i18n + ESLint(v9) 国际化多语言中英文切换, 内置 Jest 单元测试
- Host: GitHub
- URL: https://github.com/pdsuwwz/vite-starter
- Owner: pdsuwwz
- License: mit
- Created: 2021-10-19T15:46:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-07-27T10:08:58.000Z (8 months ago)
- Last Synced: 2025-07-27T12:09:35.816Z (8 months ago)
- Topics: admin, element, element-plus, eslint, plus, template, vite, vite5, vue, vue3
- Language: Vue
- Homepage: https://pdsuwwz.github.io/vite-starter
- Size: 69.2 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-starter
[](https://github.com/pdsuwwz/vite-starter/actions/workflows/deploy.yml)
[](https://github.com/pdsuwwz/vite-starter/deployments/activity_log?environment=github-pages)
[](https://github.com/facebook/jest)
[](https://github.com/pdsuwwz)
[](https://github.com/pdsuwwz/vite-starter/blob/main/LICENSE)
🐟 Starter Template for Vite 5.x + Vue 3.x
**Live demo:** [Vite Starter](https://pdsuwwz.github.io/vite-starter)
> For Typescript: https://github.com/pdsuwwz/vite-ts-starter
## 🌱 不同版本
目前一共有以下五个不同技术栈的仓库模板在持续维护,请尝试后选择适合自己的模板使用
- 💥 (推荐) [TS + Pinia + 🌐 低耦合(i18n)多语言 Vite5 + Vue3 + TS + Pinia + Element-Plus2 + vue-i18n@next](https://github.com/pdsuwwz/vue-boilerplate-i18n)
- ⚡️ TS + Pinia 版 [Vite5 + Vue3 + TS + Pinia + Element-Plus2 + useLocale + i18n](https://github.com/pdsuwwz/pinia-starter-ts)
- ⚡️ JS + Pinia 版 [Vite4 + Vue3 + Pinia + Element-Plus2 + useLocale + i18n](https://github.com/pdsuwwz/vite-pinia-starter)
- ⚡️ TS + Vuex4 版 [Vite5 + Vue3 + TS + Vuex4 + Element-Plus2 + useLocale + i18n](https://github.com/pdsuwwz/vite-ts-starter)
- ⚡️ JS + Vuex4 版 (当前仓库)[Vite5 + Vue3 + Vuex4 + Element-Plus2 + useLocale + i18n](https://github.com/pdsuwwz/vite-starter)
## 前置条件
* Vue 3.x
* Node >= 18.12.x
* Pnpm 9.x
* **VS Code 插件 `dbaeumer.vscode-eslint` >= v3.0.5 (pre-release)**
## 安装和运行
* 安装依赖
```bash
pnpm i
```
* 本地开发
```bash
pnpm dev
```
## 单元测试
* 执行单测
```bash
pnpm test
```
* 执行覆盖率测试
```bash
pnpm test:coverage
```
## 😎 Awesome
* [awesome-vite](https://github.com/pdsuwwz/awesome-vite)