Skip to content

vue-mvvm / core / AppShell

AppShell

Represents the configuration shell of an MVVM application.

Might be extended by interface mergin of optional parts e.g. vue-mvvm/router

Properties

alert

ts
alert: AlertConfig;

Configuration for vue-mvvm/alert


router

ts
router: RouterConfig;

Configuration for the vue-router


toast

ts
toast: ToastConfig;

Configuration for vue-mvvm/toast

Methods

configureServices()

ts
configureServices(ctx): void;

Is called to register services in the DI and to mock them if required.

Parameters

ctx

WritableGlobalContext

Represents a global context for features like DI

Returns

void