Open History to see the last commit
1export type Manifest = {
2 routes: Record<
3 string,
4 {
5 filePath?: string
6 preloads?: Array<string>
7 assets?: Array<RouterManagedTag>
8 }
9 >
10}
11β
12export type RouterManagedTag =
13 | {
14 tag: 'title'
15 attrs?: Record<string, any>
16 children: string
17 }
18 | {
19 tag: 'meta' | 'link'
20 attrs?: Record<string, any>
21 children?: never
22 }
23 | {
24 tag: 'script'
25 attrs?: Record<string, any>
26 children?: string
27 }
28 | {
29 tag: 'style'
30 attrs?: Record<string, any>
31 children?: string
32 }