|
1 |
| -<p align='center'> |
2 |
| - <img src='https://user-images.githubusercontent.com/11247099/111864893-a457fd00-899e-11eb-9f05-f4b88987541d.png' alt='Vitesse - Opinionated Vite Starter Template' width='600'/> |
3 |
| -</p> |
4 |
| - |
5 |
| -<h6 align='center'> |
6 |
| -<a href="https://vitesse-lite.netlify.app/">在线 Demo</a> |
7 |
| -</h6> |
8 |
| - |
9 |
| -<h5 align='center'> |
10 |
| -<b>轻量版的 <a href="https://github.com/antfu/vitesse">Vitesse</a></b> |
11 |
| -</h5> |
12 |
| - |
13 |
| -<br> |
14 |
| - |
15 |
| -<p align='center'> |
16 |
| -<a href="https://github.com/antfu/vitesse-lite/blob/main/README.md">English</a> | <b>简体中文</b> |
17 |
| -</p> |
18 |
| - |
19 |
| -<br> |
20 |
| - |
21 |
| -## 特性 |
22 |
| - |
23 |
| -- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite 3](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [ESBuild](https://github.com/evanw/esbuild) - 就是快! |
24 |
| - |
25 |
| -- 🗂 [基于文件的路由](./src/pages) |
26 |
| - |
27 |
| -- 📦 [组件自动化加载](./src/components) |
28 |
| - |
29 |
| -- 🎨 [UnoCSS](https://github.com/unocss/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎 |
30 |
| - |
31 |
| -- 😃 [各种图标集为你所用](https://github.com/antfu/unocss/tree/main/packages/preset-icons) |
32 |
| - |
33 |
| -- 🔥 使用 [新的 `<script setup>` 语法](https://github.com/vuejs/rfcs/pull/227) |
34 |
| - |
35 |
| -- ✅ 使用 [Vitest](http://vitest.dev/) 进行单元和组件测试 |
36 |
| - |
37 |
| -- 🦾 TypeScript, 当然 |
38 |
| - |
39 |
| -- ☁️ 零配置部署 Netlify |
40 |
| - |
41 |
| -<br> |
42 |
| - |
43 |
| -完整特性,请查看 [Vitesse](https://github.com/antfu/vitesse) |
44 |
| - |
45 |
| -## 从 [Vitesse](https://github.com/antfu/vitesse) 中删除了以下特性 |
46 |
| - |
47 |
| -- ~~i18n~~ |
48 |
| -- ~~Layouts~~ |
49 |
| -- ~~SSG~~ |
50 |
| -- ~~PWA~~ |
51 |
| -- ~~Markdown~~ |
52 |
| - |
53 |
| -## 预配置 |
54 |
| - |
55 |
| -### UI 框架 |
56 |
| - |
57 |
| -- [UnoCSS](https://github.com/antfu/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎 |
58 |
| - |
59 |
| -### Icons |
60 |
| - |
61 |
| -- [Iconify](https://iconify.design) - 使用任意的图标集,浏览:[🔍Icônes](https://icones.netlify.app/) |
62 |
| -- [UnoCSS 的纯 CSS 图标方案](https://github.com/antfu/unocss/tree/main/packages/preset-icons) |
63 |
| - |
64 |
| -### 插件 |
65 |
| - |
66 |
| -- [Vue Router](https://github.com/vuejs/vue-router) |
67 |
| - - [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - 以文件系统为基础的路由 |
68 |
| -- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入 |
69 |
| -- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件 |
70 |
| -- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - 探索并扩展更多的宏和语法糖到 Vue 中 |
71 |
| -- [VueUse](https://github.com/antfu/vueuse) - 实用的 Composition API 工具合集 |
72 |
| - |
73 |
| -## 现在可以试试! |
74 |
| - |
75 |
| -### GitHub 模板 |
76 |
| - |
77 |
| -[使用这个模板创建仓库](https://github.com/antfu/vitesse-lite/generate). |
78 |
| - |
79 |
| -### 克隆到本地 |
80 |
| - |
81 |
| -如果您更喜欢使用更干净的 git 历史记录手动执行此操作 |
82 |
| - |
83 |
| -```bash |
84 |
| -npx degit antfu/vitesse-lite my-vitesse-app |
85 |
| -cd my-vitesse-app |
86 |
| -pnpm i # 如果你没装过 pnpm, 可以先运行: npm install -g pnpm |
87 |
| -``` |
| 1 | +<p align='center'> |
| 2 | + <img src='https://user-images.githubusercontent.com/11247099/111864893-a457fd00-899e-11eb-9f05-f4b88987541d.png' alt='Vitesse - Opinionated Vite Starter Template' width='600'/> |
| 3 | +</p> |
| 4 | + |
| 5 | +<h6 align='center'> |
| 6 | +<a href="https://vitesse-lite.netlify.app/">在线 Demo</a> |
| 7 | +</h6> |
| 8 | + |
| 9 | +<h5 align='center'> |
| 10 | +<b>轻量版的 <a href="https://github.com/antfu/vitesse">Vitesse</a></b> |
| 11 | +</h5> |
| 12 | + |
| 13 | +<br> |
| 14 | + |
| 15 | +<p align='center'> |
| 16 | +<a href="https://github.com/antfu/vitesse-lite/blob/main/README.md">English</a> | <b>简体中文</b> |
| 17 | +</p> |
| 18 | + |
| 19 | +<br> |
| 20 | + |
| 21 | +## 特性 |
| 22 | + |
| 23 | +- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite 3](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [ESBuild](https://github.com/evanw/esbuild) - 就是快! |
| 24 | + |
| 25 | +- 🗂 [基于文件的路由](./src/pages) |
| 26 | + |
| 27 | +- 📦 [组件自动化加载](./src/components) |
| 28 | + |
| 29 | +- 🎨 [UnoCSS](https://github.com/unocss/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎 |
| 30 | + |
| 31 | +- 😃 [各种图标集为你所用](https://github.com/antfu/unocss/tree/main/packages/preset-icons) |
| 32 | + |
| 33 | +- 🔥 使用 [新的 `<script setup>` 语法](https://github.com/vuejs/rfcs/pull/227) |
| 34 | + |
| 35 | +- ✅ 使用 [Vitest](http://vitest.dev/) 进行单元和组件测试 |
| 36 | + |
| 37 | +- 🦾 TypeScript, 当然 |
| 38 | + |
| 39 | +- ☁️ 零配置部署 Netlify |
| 40 | + |
| 41 | +<br> |
| 42 | + |
| 43 | +完整特性,请查看 [Vitesse](https://github.com/antfu/vitesse) |
| 44 | + |
| 45 | +## 从 [Vitesse](https://github.com/antfu/vitesse) 中删除了以下特性 |
| 46 | + |
| 47 | +- ~~i18n~~ |
| 48 | +- ~~Layouts~~ |
| 49 | +- ~~SSG~~ |
| 50 | +- ~~PWA~~ |
| 51 | +- ~~Markdown~~ |
| 52 | + |
| 53 | +## 预配置 |
| 54 | + |
| 55 | +### UI 框架 |
| 56 | + |
| 57 | +- [UnoCSS](https://github.com/antfu/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎 |
| 58 | + |
| 59 | +### Icons |
| 60 | + |
| 61 | +- [Iconify](https://iconify.design) - 使用任意的图标集,浏览:[🔍Icônes](https://icones.netlify.app/) |
| 62 | +- [UnoCSS 的纯 CSS 图标方案](https://github.com/antfu/unocss/tree/main/packages/preset-icons) |
| 63 | + |
| 64 | +### 插件 |
| 65 | + |
| 66 | +- [Vue Router](https://github.com/vuejs/vue-router) |
| 67 | + - [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - 以文件系统为基础的路由 |
| 68 | +- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入 |
| 69 | +- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件 |
| 70 | +- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - 探索并扩展更多的宏和语法糖到 Vue 中 |
| 71 | +- [VueUse](https://github.com/antfu/vueuse) - 实用的 Composition API 工具合集 |
| 72 | + |
| 73 | +## 现在可以试试! |
| 74 | + |
| 75 | +### GitHub 模板 |
| 76 | + |
| 77 | +[使用这个模板创建仓库](https://github.com/antfu/vitesse-lite/generate). |
| 78 | + |
| 79 | +### 克隆到本地 |
| 80 | + |
| 81 | +如果您更喜欢使用更干净的 git 历史记录手动执行此操作 |
| 82 | + |
| 83 | +```bash |
| 84 | +npx degit antfu/vitesse-lite my-vitesse-app |
| 85 | +cd my-vitesse-app |
| 86 | +pnpm i # 如果你没装过 pnpm, 可以先运行: npm install -g pnpm |
| 87 | +``` |
0 commit comments