File tree Expand file tree Collapse file tree 4 files changed +875
-2
lines changed Expand file tree Collapse file tree 4 files changed +875
-2
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ Vite 插件也可以提供钩子来服务于特定的 Vite 目标。这些钩子
217217 ** 示例:**
218218
219219 ``` js
220- const exmaplePlugin = () => {
220+ const examplePlugin = () => {
221221 let config
222222
223223 return {
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ npm add -D less
200200npm add -D stylus
201201```
202202
203- 如果是用的是单文件组件 ,可以通过 ` <style lang="sass"> ` (或其他预处理器)自动开启。
203+ 如果使用的是单文件组件 ,可以通过 ` <style lang="sass"> ` (或其他预处理器)自动开启。
204204
205205Vite 为 Sass 和 Less 改进了 ` @import ` 解析,以保证 Vite 别名也能被使用。另外,` url() ` 中的相对路径引用的,与根文件不同目录中的 Sass/Less 文件会自动变基以保证正确性。
206206
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ footer: MIT Licensed | Copyright © 2019-present Evan You & Vite Contributors
2525
2626<script setup >
2727import 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 >
You can’t perform that action at this time.
0 commit comments