vue-lynx / createApp

Function: createApp()

function createApp(rootComponent, rootProps?): VueLynxApp

Create a Vue Lynx application instance.

Parameters

ParameterTypeDescription
rootComponentComponentThe root Vue component
rootProps?Record<string, unknown>Optional props to pass to the root component

Returns

VueLynxApp

A VueLynxApp instance

Example

import { createApp } from 'vue-lynx';
import App from './App.vue';

createApp(App).mount();

Defined in

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