We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aabb699 commit 534a173Copy full SHA for 534a173
src/volar.ts
@@ -133,6 +133,9 @@ const plugin: VueLanguagePlugin = ({
133
name: 'vue-reactivity-function',
134
version: 2,
135
resolveEmbeddedCode(fileName, sfc, embeddedFile) {
136
+ vueCompilerOptions.macros.defineModel.push('$defineModel')
137
+ vueCompilerOptions.macros.defineExpose.push('defineExpose$')
138
+
139
for (const source of ['script', 'scriptSetup'] as const) {
140
if (sfc[source]?.ast) {
141
transform({
0 commit comments