refactor(nuxt): use relative imports

This commit is contained in:
Daniel Roe 2025-03-04 22:14:17 +00:00
parent 8ef3fcc4d1
commit 1bce3dc3bb
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import { defineComponent, h } from 'vue'
import { useLoadingIndicator } from '#app/composables/loading-indicator'
import { useLoadingIndicator } from '../composables/loading-indicator'
export default defineComponent({
name: 'NuxtLoadingIndicator',

View File

@ -1,6 +1,6 @@
import { defineComponent, h } from 'vue'
import type { Politeness } from 'nuxt/app'
import { useRouteAnnouncer } from '#app/composables/route-announcer'
import { useRouteAnnouncer } from '../composables/route-announcer'
export default defineComponent({
name: 'NuxtRouteAnnouncer',

View File

@ -1,6 +1,6 @@
import { computed, getCurrentScope, onScopeDispose, ref } from 'vue'
import type { Ref } from 'vue'
import { useNuxtApp } from '#app/nuxt'
import { useNuxtApp } from '../nuxt'
export type LoadingIndicatorOpts = {
/** @default 2000 */