• Parameters

    • nuxt: _NuxtApp

    Returns void | Promise<void> | Promise<{
        provide?: {
            ustra: Ustra;
        };
    }> | {
        provide?: {
            ustra: Ustra;
        };
    }

Properties

__nuxt_plugin?: true
_name?: string
dependsOn?: string[]

Await for other named plugins to finish before running this plugin.

enforce?: "default" | "post" | "pre"
env?: PluginEnvContext
hooks?: Partial<RuntimeNuxtHooks>
meta?: ResolvedPluginMeta
name: string

Returns the name of the function. Function names are read-only and can not be changed.

order?: number

This allows more granular control over plugin order and should only be used by advanced users. It overrides the value of enforce and is used to sort plugins.

parallel?: boolean

Execute plugin in parallel with other parallel plugins.

Default

false
setup?: Plugin<{
    ustra: Ustra;
}>

Type declaration

Generated using TypeDoc