mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-19 16:01:24 +00:00
refactor(nuxt): use relative imports
This commit is contained in:
parent
8ef3fcc4d1
commit
1bce3dc3bb
@ -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',
|
||||
|
@ -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',
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user