Skip to content

Commit 804431e

Browse files
Merge branch 'main' into dev
2 parents b15e138 + d731035 commit 804431e

File tree

4 files changed

+875
-2
lines changed

4 files changed

+875
-2
lines changed

guide/api-plugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Vite 插件也可以提供钩子来服务于特定的 Vite 目标。这些钩子
217217
**示例:**
218218

219219
```js
220-
const exmaplePlugin = () => {
220+
const examplePlugin = () => {
221221
let config
222222

223223
return {

guide/features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ npm add -D less
200200
npm add -D stylus
201201
```
202202

203-
如果是用的是单文件组件,可以通过 `<style lang="sass">`(或其他预处理器)自动开启。
203+
如果使用的是单文件组件,可以通过 `<style lang="sass">`(或其他预处理器)自动开启。
204204

205205
Vite 为 Sass 和 Less 改进了 `@import` 解析,以保证 Vite 别名也能被使用。另外,`url()` 中的相对路径引用的,与根文件不同目录中的 Sass/Less 文件会自动变基以保证正确性。
206206

index.md

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ footer: MIT Licensed | Copyright © 2019-present Evan You & Vite Contributors
2525

2626
<script setup>
2727
import SponsorsGroup from './.vitepress/theme/SponsorsGroup.vue'
28+
import fetchReleaseTag from './.vitepress/theme/fetchReleaseTag.js'
29+
30+
fetchReleaseTag();
2831
</script>
2932

3033
<h3 style="text-align:center;color:#999">Sponsors</h3>

0 commit comments

Comments
 (0)