2023-12-23 14:18:42 +08:00
|
|
|
|
<h2 align="center">
|
2023-12-23 14:40:34 +08:00
|
|
|
|
vue3-uniapp-template
|
2023-12-23 14:18:42 +08:00
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
|
|
## 特性
|
|
|
|
|
|
|
|
|
|
- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [esbuild](https://github.com/evanw/esbuild) - 就是快!
|
|
|
|
|
|
|
|
|
|
- 🗂 [基于文件的路由](./src/pages)
|
|
|
|
|
|
|
|
|
|
- 📦 [组件自动化加载](./src/components)
|
|
|
|
|
|
|
|
|
|
- 📑 [布局系统](./src/layouts)
|
|
|
|
|
|
|
|
|
|
- 🎨 [UnoCSS](https://github.com/unocss/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎
|
|
|
|
|
|
|
|
|
|
- 😃 [各种图标集为你所用](https://github.com/antfu/unocss/tree/main/packages/preset-icons)
|
|
|
|
|
|
|
|
|
|
- 🔥 使用 [新的 `<script setup>` 语法](https://github.com/vuejs/rfcs/pull/227)
|
|
|
|
|
|
|
|
|
|
- 📥 [API 自动加载](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 无需引入
|
|
|
|
|
|
|
|
|
|
- 🦾 [TypeScript](https://www.typescriptlang.org/) & [ESLint](https://eslint.org/) & [stylelint](https://stylelint.io/) - 保证代码质量
|
|
|
|
|
|
|
|
|
|
- 👍 [husky](https://typicode.github.io/husky/) & [lint-staged](https://github.com/lint-staged/lint-staged) + [commitlint](https://commitlint.js.org/) - 保证代码提交质量
|
|
|
|
|
|
|
|
|
|
- 🌈 ES6 import 顺序自动排序,css 属性自动排序,增强编码一致性
|
|
|
|
|
|
|
|
|
|
- 🍓 使用请求拦截器,封装好您的请求
|
|
|
|
|
|
|
|
|
|
- 🏆 图片自动压缩,再也不用去tinyPng等网站压缩图片了
|
|
|
|
|
|
|
|
|
|
- 💓 多环境配置分开,想则怎么配置就怎么配置
|