vue-lynx / VueLynxApp

Interface: VueLynxApp

A Vue Lynx application instance returned by createApp.

Indexable

[key: string]: unknown

Properties

PropertyTypeDescriptionDefined in
configAppConfigThe application-level configuration object (same as Vue's app.config).packages/vue-lynx/runtime/src/index.ts:79

Methods

mount()

mount(): void

Mount the root component onto the Lynx page root.

Unlike Vue on the web, there is no container selector — Lynx has a single page root and all content is always mounted there.

Returns

void

Defined in

packages/vue-lynx/runtime/src/index.ts:71


unmount()

unmount(): void

Unmount the application and clean up all components.

Returns

void

Defined in

packages/vue-lynx/runtime/src/index.ts:73


use()

use(plugin, ...options): VueLynxApp

Install a Vue plugin.

Parameters

ParameterType
pluginunknown
...optionsunknown[]

Returns

VueLynxApp

Defined in

packages/vue-lynx/runtime/src/index.ts:75


provide()

provide(key, value): VueLynxApp

Provide a value that can be injected by descendant components.

Parameters

ParameterType
keyunknown
valueunknown

Returns

VueLynxApp

Defined in

packages/vue-lynx/runtime/src/index.ts:77