Thanks to visit codestin.com Credit goes to github.com
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.
script.propsDestructure
1 parent a592150 commit 6dbe712Copy full SHA for 6dbe712
src/core/index.ts
@@ -66,6 +66,10 @@ export interface Options {
66
* using Vue 3.4 or above.
67
*/
68
defineModel?: boolean
69
+ /**
70
+ * @deprecated moved to `features.propsDestructure`.
71
+ */
72
+ propsDestructure?: boolean
73
}
74
template?: Partial<
75
Omit<
src/core/script.ts
@@ -85,7 +85,8 @@ export function resolveScript(
85
? scriptIdentifier
86
: undefined,
87
customElement,
88
- propsDestructure: options.features.propsDestructure,
+ propsDestructure:
89
+ options.features.propsDestructure ?? options.script?.propsDestructure,
90
})
91
92
if (!options.isProduction && resolved?.deps) {
0 commit comments