mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
fix(nuxt)!: remove unused globalName
property (#28391)
This commit is contained in:
parent
f5dad8a82f
commit
66247a712d
@ -101,7 +101,6 @@ interface _NuxtApp {
|
|||||||
/** @internal */
|
/** @internal */
|
||||||
_name: string
|
_name: string
|
||||||
vueApp: App<Element>
|
vueApp: App<Element>
|
||||||
globalName: string
|
|
||||||
versions: Record<string, string>
|
versions: Record<string, string>
|
||||||
|
|
||||||
hooks: Hookable<RuntimeNuxtHooks>
|
hooks: Hookable<RuntimeNuxtHooks>
|
||||||
@ -245,7 +244,6 @@ export type ObjectPluginInput<Injections extends Record<string, unknown> = Recor
|
|||||||
export interface CreateOptions {
|
export interface CreateOptions {
|
||||||
vueApp: NuxtApp['vueApp']
|
vueApp: NuxtApp['vueApp']
|
||||||
ssrContext?: NuxtApp['ssrContext']
|
ssrContext?: NuxtApp['ssrContext']
|
||||||
globalName?: NuxtApp['globalName']
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @since 3.0.0 */
|
/** @since 3.0.0 */
|
||||||
@ -255,7 +253,6 @@ export function createNuxtApp (options: CreateOptions) {
|
|||||||
_name: appId || 'nuxt-app',
|
_name: appId || 'nuxt-app',
|
||||||
_scope: effectScope(),
|
_scope: effectScope(),
|
||||||
provide: undefined,
|
provide: undefined,
|
||||||
globalName: 'nuxt',
|
|
||||||
versions: {
|
versions: {
|
||||||
get nuxt () { return __NUXT_VERSION__ },
|
get nuxt () { return __NUXT_VERSION__ },
|
||||||
get vue () { return nuxtApp.vueApp.version },
|
get vue () { return nuxtApp.vueApp.version },
|
||||||
|
Loading…
Reference in New Issue
Block a user