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 GitHub
parent 50297454c7
commit 66ca0910f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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',
// //