fix builds
This commit is contained in:
parent
22361db2a9
commit
4419fe2e92
3 changed files with 11 additions and 3 deletions
2
libs/types/src/config/routing.d.ts
vendored
2
libs/types/src/config/routing.d.ts
vendored
|
@ -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) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue