import { defineUnimportPreset } from 'unimport' export const commonPresets = [ // #meta defineUnimportPreset({ from: '#meta', imports: [ 'useMeta' ] }), // vue-demi (mocked) defineUnimportPreset({ from: 'vue-demi', imports: [ 'isVue2', 'isVue3' ] }) ] export const appPreset = defineUnimportPreset({ from: '#app', imports: [ 'useAsyncData', 'useLazyAsyncData', 'defineNuxtComponent', 'useNuxtApp', 'defineNuxtPlugin', 'useRuntimeConfig', 'useState', 'useFetch', 'useLazyFetch', 'useCookie', 'useRequestHeaders', 'useRouter', 'useRoute', 'defineNuxtRouteMiddleware', 'navigateTo', 'abortNavigation', 'addRouteMiddleware' ] }) // vue export const vuePreset = defineUnimportPreset({ from: 'vue', imports: [ //