Skip to content

Commit

Permalink
Add support for defineModel (#213)
Browse files Browse the repository at this point in the history
* Add support for defineModel

* fix

* fix

* fix
  • Loading branch information
ota-meshi committed Dec 30, 2023
1 parent 9d38572 commit aa2de99
Show file tree
Hide file tree
Showing 57 changed files with 20,670 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/script-setup/scope-analyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ const COMPILER_MACROS_AT_ROOT = new Set([
"defineEmits",
"defineExpose",
"withDefaults",
// Added in vue 3.3
// Added in Vue 3.3
"defineOptions",
"defineSlots",
// Added in Vue 3.4
"defineModel",
])

/**
Expand Down
Loading

0 comments on commit aa2de99

Please sign in to comment.