Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pdsuwwz/vite-starter

🐟 Starter template 基于 Vite5 + Vue3 + Vuex + Element Plus + i18n + ESLint(v9) 国际化多语言中英文切换, 内置 Jest 单元测试
https://github.com/pdsuwwz/vite-starter

admin element element-plus eslint plus template vite vite3 vite4 vue3

Last synced: 12 days ago
JSON representation

🐟 Starter template 基于 Vite5 + Vue3 + Vuex + Element Plus + i18n + ESLint(v9) 国际化多语言中英文切换, 内置 Jest 单元测试

Awesome Lists containing this project

README

        

# vite-starter

[![Deploy](https://github.com/pdsuwwz/vite-starter/workflows/Deploy%20for%20gh%20pages/badge.svg)](https://github.com/pdsuwwz/vite-starter/actions/workflows/deploy.yml)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pdsuwwz/vite-starter/deploy.yml?branch=main)](https://github.com/pdsuwwz/vite-starter/deployments/activity_log?environment=github-pages)
[![jest](https://jestjs.io/img/jest-badge.svg)](https://github.com/facebook/jest)
[![Author](https://img.shields.io/badge/Author-Wisdom-9cf)](https://github.com/pdsuwwz)
[![License](https://img.shields.io/github/license/pdsuwwz/vite-starter?color=blue)](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)