Skip to content

Commit 6b423fe

Browse files
committed
docs: updated README.md
1 parent c143a99 commit 6b423fe

File tree

3 files changed

+52
-114
lines changed

3 files changed

+52
-114
lines changed

README.ZH-CN.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* 🧩 它是一个 vue 的功能扩展,让你能够在 css 文件中使用 v-bind
99
* 🌈 支持全平台打包工具构建(vite、webpack)
1010
* ⛰ 支持 css, sass, scss, less, stylus
11-
*轻量且快速
11+
*支持热更新
1212

1313
## Core Strategy
1414
1. 在使用开发服务器时,`unplugin-vue-cssvars`会从组件开始分析引用的css文件,
@@ -274,8 +274,6 @@ export interface Options {
274274
1.`sfc` 开始,分析 `style` 标签中引用的 `css` 文件,按照 `css` 文件中的引用顺序,深度优先依次提升并注入到 `sfc` 中。
275275
2. 注入到 `sfc` 后,其优先级完全由 `@vue/compiler-dom` 的编译器决定。
276276

277-
## 关于热更新
278-
目前只支持 vite 的热更新,webpack 将在将来支持
279277

280278
## Thanks
281279
* [vue](https://github.com/vuejs/core)

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ English | [中文](https://github.com/baiwusanyu-c/unplugin-vue-cssvars/blob/mas
88
* 🧩 It is a function extension of vue
99
* 🌈 Compatible with multiple bundled platforms(vite、webpack)
1010
* ⛰ Support css, sass, scss, less, stylus
11-
*light and fast
11+
*Support hmr
1212

1313
## Core Strategy
1414

@@ -281,9 +281,6 @@ if there is a variable conflict, `script setup` will take precedence
281281
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`.
282282
2. After being injected into `sfc`, its priority is completely determined by the compiler of `@vue/compiler-dom`.
283283

284-
## About Hot Update
285-
Currently only supports hot update of vite, webpack will support it in the future
286-
287284
## Thanks
288285
* [vue](https://github.com/vuejs/core)
289286
* [vite](https://github.com/vitejs/vite)

pnpm-lock.yaml

Lines changed: 50 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)