Skip to content

Commit 7111ad9

Browse files
committed
docs: update readme
1 parent 41381be commit 7111ad9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.ZH-CN.md

+3
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ export interface Options {
281281
1.`sfc` 开始,分析 `style` 标签中引用的 `css` 文件,按照 `css` 文件中的引用顺序,深度优先依次提升并注入到 `sfc` 中。
282282
2. 注入到 `sfc` 后,其优先级完全由 `@vue/compiler-dom` 的编译器决定。
283283

284+
## 关于热更新
285+
目前只支持 vite 的热更新,webpack 将在将来支持
286+
284287
## Thanks
285288
* [vue](https://github.com/vuejs/core)
286289
* [vite](https://github.com/vitejs/vite)

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ if there is a variable conflict, `script setup` will take precedence
287287
1. Starting from `sfc`, analyze the `css` files referenced in the `style` tag, and in accordance with the order of references in the `css` files, they will be promoted in depth-first order and injected into `sfc`.
288288
2. After being injected into `sfc`, its priority is completely determined by the compiler of `@vue/compiler-dom`.
289289

290+
## About Hot Update
291+
Currently only supports hot update of vite, webpack will support it in the future
292+
290293
## Thanks
291294
* [vue](https://github.com/vuejs/core)
292295
* [vite](https://github.com/vitejs/vite)

0 commit comments

Comments
 (0)