Code Monkey home page Code Monkey logo

jayce-liang / vue-boilerplate-i18n Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pdsuwwz/vue-boilerplate-i18n

0.0 0.0 0.0 57.51 MB

🌏 基于 Vite 5 + Pinia 2 + TypeScript + Element Plus + Vue 3 + Vue Router 4 + UnoCSS + Unplugin + ESLint(v9) + Vitest 的原型模板框架, 支持路由切换语言, 自动导入 🚀🚀🚀 适合快速开发 B 端模块化产品的中小型后台管理系统,基于 vue-i18n-next 💪 Starter using Vite5 + Vue3 + Pinia + TS + i18n to fast build a admin prototyping(附示例截图)

Home Page: https://pdsuwwz.github.io/vue-boilerplate-i18n/

License: MIT License

JavaScript 10.32% TypeScript 37.59% HTML 0.27% Vue 47.74% SCSS 4.08%

vue-boilerplate-i18n's Introduction

vue-boilerplate-i18n

Deploy GitHub Workflow Status (branch) thanks License

🌏 Starter using Vite 5 + Vue 3.3 + Pinia + TypeScript + i18n + UnoCSS + Unplugin + Element-Plus 2.x to fast build a prototyping

一个适用国际化多语言(i18n)扩展、帮助你快速开发 B 端 🚀🚀🚀 Vue3 + Vite5 + TS + Pinia 中小型后台管理系统的原型模板项目框架,集成 vue-i18n-next 💪

💻 Live Demo 在线体验

🌱 不同版本

目前一共有以下五个不同技术栈的仓库模板在持续维护,请尝试后选择适合自己的模板使用

(推荐基于在当前仓库基础上二次开发)

🪄 使用不同的 UI 库

如果更喜欢使用 Naive UI 作为 UI 库, 这里也为你提供了一个相应的模板项目:

🎉 Features

  • 支持 Vite 5 + Vue 3 + TypeScript
  • UI 框架: Element Plus 2.x
  • 状态管理: Pinia
  • 自动导入,解放双手: Unplugin Auto Import
  • 原子化 CSS: UnoCSS
  • 单元测试框架: Jest 升级为 Vitest
  • 内置 ESlintStylelint, 可在此基础上扩充你想要的 Lint 配置规范
  • 内置封装了一个可能比较好用的 Axios , 需要时配合 Pinia Actions 一起食用
  • 封装了 <IconFont /> 组件, 可直接使用 IconFont 图标
  • 内置全局 $ModalDialog 插件, 支持使用 service 式地动态调用此插件来显示任意组件
  • 内置 vue-i18n-next, 支持到 VueRouter 路由级别切换语言,可编写国际化配置文件及扩展其他语言
  • 路由鉴权已帮你封装好,同时配合 Nprogress, 只需要修改 permission.ts 文件即可
  • 自带一个模块化的组件开发环境,可按照 modules 目录解耦页面组件、路由组件、样式等文件
  • 高度封装但不失灵活,内部抽象出了一个完整的业务流程供你参考,涉及三个核心页面:登录、列表和明细
  • 节省你配置的时间,因此该项目的轻量化致使你只需要专心编写自己的业务代码即可

Environment Support

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

Screenshot

image

image

Install

Run pnpm i to install the dependencies.

pnpm i

Run

Run pnpm dev to start the frontend dev server.

pnpm dev

Test

Unit Testing.

pnpm test

Test code coverage.

pnpm test:coverage

😎 Awesome

License

MIT License | Copyright © 2020-PRESENT Wisdom

vue-boilerplate-i18n's People

Contributors

pdsuwwz avatar renovate[bot] avatar renovate-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.