8000 refactor(nuxt): combine imports from same relative path · nuxt/nuxt@ee2f568 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee2f568

Browse files
committed
refactor(nuxt): combine imports from same relative path
1 parent 19bef5a commit ee2f568

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/nuxt/src/app/plugins/router.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { reactive, h, isReadonly } from 'vue'
22
import { parseURL, stringifyParsedURL, parseQuery, stringifyQuery, withoutBase, isEqual, joinURL } from 'ufo'
33
import { createError } from 'h3'
4-
import { defineNuxtPlugin, useRuntimeConfig } from '../nuxt'
4+
import { callWithNuxt, defineNuxtPlugin, useRuntimeConfig } from '../nuxt'
55
import { clearError, showError } from '../composables/error'
66
import { navigateTo } from '../composables/router'
77
import { useState } from '../composables/state'
88
import { useRequestEvent } from '../composables/ssr'
99

10-
import { callWithNuxt } from '../nuxt'
1110
// @ts-ignore
1211
import { globalMiddleware } from '#build/middleware'
1312

0 commit comments

Comments
 (0)
0