mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +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 */
|
||||
_name: string
|
||||
vueApp: App<Element>
|
||||
globalName: string
|
||||
versions: Record<string, string>
|
||||
|
||||
hooks: Hookable<RuntimeNuxtHooks>
|
||||
@ -245,7 +244,6 @@ export type ObjectPluginInput<Injections extends Record<string, unknown> = Recor
|
||||
export interface CreateOptions {
|
||||
vueApp: NuxtApp['vueApp']
|
||||
ssrContext?: NuxtApp['ssrContext']
|
||||
globalName?: NuxtApp['globalName']
|
||||
}
|
||||
|
||||
/** @since 3.0.0 */
|
||||
@ -255,7 +253,6 @@ export function createNuxtApp (options: CreateOptions) {
|
||||
_name: appId || 'nuxt-app',
|
||||
_scope: effectScope(),
|
||||
provide: undefined,
|
||||
globalName: 'nuxt',
|
||||
versions: {
|
||||
get nuxt () { return __NUXT_VERSION__ },
|
||||
get vue () { return nuxtApp.vueApp.version },
|
||||
|
Loading…
Reference in New Issue
Block a user