@yuuvis/app-templates
v1.2.1
Published
@yuuvis/app-templates is a yuuvis® MOMENTUM client app to work with template based word documents.
Readme
@yuuvis/app-templates
@yuuvis/app-templates is a yuuvis® MOMENTUM client app to work with template based word documents.
Installation
The app can be installed in a custom client project as follows:
npm install @yuuvis/app-templates --saveEnable the extension to apply templates
In your app.config.ts add the YuvTemplatesExtension to the providers:
import { YuvTemplatesExtension } from '@yuuvis/app-templates/extensions';
export const appConfig: ApplicationConfig = {
providers: [
importShellExtensions([
{ id: 'io.yuuvis.app.templates.extension', extension: YuvTemplatesExtension }
])
]
}Enable the app to manage templates
In your app.routes.ts add a new lazy loaded route for the @yuuvis/app-templates package:
export const app: App[] = [
{
id: 'io.yuuvis.app.templates',
title: "yuuvis® templates",
path: 'templates',
iconName: 'library_books',
loadChildren: () => import('@yuuvis/app-templates').then((m) => m.YuvTemplateManagerRoutes)
},
]