mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 17:07:22 +00:00
fix(bridge): remove defineNuxtLink
from auto-imports (#4022)
This commit is contained in:
parent
1b61bda286
commit
91576c9892
@ -4,7 +4,7 @@ import type { Preset } from 'unimport'
|
|||||||
import autoImports from '../../nuxt3/src/auto-imports/module'
|
import autoImports from '../../nuxt3/src/auto-imports/module'
|
||||||
import { vuePreset } from '../../nuxt3/src/auto-imports/presets'
|
import { vuePreset } from '../../nuxt3/src/auto-imports/presets'
|
||||||
|
|
||||||
const UnsupportedImports = new Set(['useAsyncData', 'useFetch', 'useError', 'throwError', 'clearError'])
|
const UnsupportedImports = new Set(['useAsyncData', 'useFetch', 'useError', 'throwError', 'clearError', 'defineNuxtLink'])
|
||||||
const CapiHelpers = new Set(Object.keys(CompositionApi))
|
const CapiHelpers = new Set(Object.keys(CompositionApi))
|
||||||
|
|
||||||
export function setupAutoImports () {
|
export function setupAutoImports () {
|
||||||
|
Loading…
Reference in New Issue
Block a user