Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 8921740

Browse files
committed
feat: support <style vars>
1 parent 8298f71 commit 8921740

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export default function PluginVue(userOptions: Partial<Options> = {}): Plugin {
192192
id: `data-v-${query.id!}`,
193193
source: code,
194194
scoped: block.scoped,
195+
vars: !!block.vars,
195196
modules: !!block.module,
196197
postcssOptions: options.postcssOptions,
197198
postcssPlugins: options.postcssPlugins,

0 commit comments

Comments
 (0)