Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

🐝 基础迭代模板 Starter Example 🍍 Pinia + Vue3 + Vite 5 + Element-Plus 2 + ESLint(v9) + Axios + Sass 基于 useLocale 实现 i18n 路由级别国际化语言切换
https://github.com/pdsuwwz/vite-pinia-starter

admin boilerplate element i18n pinia plus vite vite-template vite5 vue vue3

Last synced: 19 days ago
JSON representation

🐝 基础迭代模板 Starter Example 🍍 Pinia + Vue3 + Vite 5 + Element-Plus 2 + ESLint(v9) + Axios + Sass 基于 useLocale 实现 i18n 路由级别国际化语言切换

Awesome Lists containing this project

README

        

# vite-pinia-starter

[![Deploy](https://github.com/pdsuwwz/vite-pinia-starter/workflows/gh-pages/badge.svg)](https://github.com/pdsuwwz/vite-pinia-starter/actions/workflows/deploy.yml)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/pdsuwwz/vite-pinia-starter/deploy.yml?branch=main)](https://github.com/pdsuwwz/vite-pinia-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-pinia-starter?color=blue)](https://github.com/pdsuwwz/vite-pinia-starter/blob/main/LICENSE)

🐝 Starter Example using `Vue 3.x`, `Vite 5.x` and `Pinia@next` 🍍

[🚀 Live Demo 在线体验](https://pdsuwwz.github.io/vite-pinia-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 版 (**当前仓库**)[Vite5 + 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)

## Environment Support

* Vue 3.x
* Node 16.15.x
* VS Code 插件 `dbaeumer.vscode-eslint` >= v3.0.5 (pre-release)

## Screenshot

image

## Install

Install node dependencies in all packages

```bash
pnpm install
```

## Run

Local Development

```bash
pnpm dev
```

## Test

Unit Testing

```bash
pnpm test
```

Test code coverage

```bash
pnpm test:coverage
```

## 😎 Awesome

* [awesome-vite](https://github.com/pdsuwwz/awesome-vite)