diff --git a/packages/nuxt/src/imports/presets.ts b/packages/nuxt/src/imports/presets.ts index 995e6cb8bf..f5705b9c3e 100644 --- a/packages/nuxt/src/imports/presets.ts +++ b/packages/nuxt/src/imports/presets.ts @@ -216,9 +216,6 @@ const vuePreset = defineUnimportPreset({ 'hasInjectionContext', 'nextTick', 'provide', - 'defineModel', - 'defineOptions', - 'defineSlots', 'mergeModels', 'toValue', 'useModel', diff --git a/packages/nuxt/test/auto-imports.test.ts b/packages/nuxt/test/auto-imports.test.ts index 58a0203f40..538b295d64 100644 --- a/packages/nuxt/test/auto-imports.test.ts +++ b/packages/nuxt/test/auto-imports.test.ts @@ -86,7 +86,10 @@ const excludedVueHelpers = [ // Already globally registered 'defineEmits', 'defineExpose', + 'defineModel', + 'defineOptions', 'defineProps', + 'defineSlots', 'withDefaults', 'stop', //