@yuuvis/app-drive
v4.9.1
Published
@yuuvis/app-drive is a yuuvis® MOMENTUM client app that implements the drive scenario and is provided for use in custom client projects.
Readme
@yuuvis/app-drive
@yuuvis/app-drive is a yuuvis® MOMENTUM client app that implements the drive scenario and is provided for use in custom client projects.
Installation
The app can be installed in a custom client project as follows:
npm install @yuuvis/app-drive --saveEnable extension
In your app.config.ts add the AppDriveExtension to the providers:
import { AppDriveExtension } from '@yuuvis/app-drive/extensions';
import { provideDrive } from '@yuuvis/app-drive';
export const appConfig: ApplicationConfig = {
providers: [
importShellExtensions([
{ id: 'io.yuuvis.app.drive.extension', extension: AppDriveExtension },
]),
provideDrive()
]
}Enable app
In your app.routes.ts add a new lazy loaded route for the @yuuvis/app-drive package:
export const app: App[] = [
{
id: 'io.yuuvis.app.drive',
title: 'Drive',
path: 'drive',
iconName: 'cloud_circle',
loadChildren: () => import('@yuuvis/app-drive').then((m) => m.YuuvisDriveRoutes)
},
]
