fix(nuxt): remove vue compiler hints from auto import (#29713)

This commit is contained in:
Anthony Fu 2024-11-01 11:44:00 +09:00 committed by Daniel Roe
parent 4dbf5d3ba7
commit 3223117811
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
2 changed files with 3 additions and 3 deletions

View File

@ -216,9 +216,6 @@ const vuePreset = defineUnimportPreset({
'hasInjectionContext', 'hasInjectionContext',
'nextTick', 'nextTick',
'provide', 'provide',
'defineModel',
'defineOptions',
'defineSlots',
'mergeModels', 'mergeModels',
'toValue', 'toValue',
'useModel', 'useModel',

View File

@ -86,7 +86,10 @@ const excludedVueHelpers = [
// Already globally registered // Already globally registered
'defineEmits', 'defineEmits',
'defineExpose', 'defineExpose',
'defineModel',
'defineOptions',
'defineProps', 'defineProps',
'defineSlots',
'withDefaults', 'withDefaults',
'stop', 'stop',
// //