fix(bridge): remove defineNuxtLink from auto-imports (#4022)

This commit is contained in:
Daniel Roe 2022-04-01 13:43:56 +01:00 committed by GitHub
parent 1b61bda286
commit 91576c9892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ import type { Preset } from 'unimport'
import autoImports from '../../nuxt3/src/auto-imports/module'
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))
export function setupAutoImports () {