diff --git a/libs/types/src/config/routing.d.ts b/libs/types/src/config/routing.d.ts index 3251550..6c3a0c7 100644 --- a/libs/types/src/config/routing.d.ts +++ b/libs/types/src/config/routing.d.ts @@ -3,6 +3,7 @@ import { ArticleEntry } from '../content/templates/article-list' import { GalleryEntry } from '../content/templates/gallery-list' import { TemplateType } from '../content/templates/templateType' import { WarningModal } from './warnings' +import { mount } from 'mount-vue-component' /** * Defines the shared options for a route @@ -79,6 +80,7 @@ export type RouteCollection = { [key: string]: RouteDefinition } * Defines {@link Window} globals */ export interface RoutedWindow extends Window { + mountComponent: typeof mount /** refers to a template's primary route config; may briefly refer to sub config until a view is fully resolved */ routeConfig: RouteDefinition /** refers to a template's sub config in the case of child routes under a template (e.g. article-view under article-list) */ diff --git a/projects/frontend/src/components/shared/embedable-content.vue b/projects/frontend/src/components/shared/embedable-content.vue index 5230b4d..7f20fa2 100644 --- a/projects/frontend/src/components/shared/embedable-content.vue +++ b/projects/frontend/src/components/shared/embedable-content.vue @@ -1,11 +1,13 @@