File tree 2 files changed +3
-1
lines changed
src/runtime/server/og-image/templates
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 64
64
"test:chrome" : " HAS_CHROME=true vitest"
65
65
},
66
66
"peerDependencies" : {
67
+ "unhead" : " ^1.0.0 || ^2.0.0" ,
67
68
"unstorage" : " ^1.0.0"
68
69
},
69
70
"dependencies" : {
70
71
"@nuxt/devtools-kit" : " 2.1.0" ,
71
72
"@nuxt/kit" : " ^3.15.4" ,
72
73
"@resvg/resvg-js" : " ^2.6.2" ,
73
74
"@resvg/resvg-wasm" : " ^2.6.2" ,
75
+ "@unhead/ssr" : " ^1.11.20" ,
74
76
"@unocss/core" : " ^66.0.0" ,
75
77
"@unocss/preset-wind3" : " ^66.0.0" ,
76
78
"chrome-launcher" : " ^1.1.2" ,
Original file line number Diff line number Diff line change 1
1
import type { FontConfig , OgImageRenderEventContext } from '../../../types'
2
2
import { theme } from '#og-image-virtual/unocss-config.mjs'
3
3
import { renderSSRHead } from '@unhead/ssr'
4
- import { createHeadCore } from '@unhead/vue'
5
4
import { createError } from 'h3'
5
+ import { createHeadCore } from 'unhead'
6
6
import { normaliseFontInput , useOgImageRuntimeConfig } from '../../../shared'
7
7
import { fetchIsland } from '../../util/kit'
8
8
import { applyEmojis } from '../satori/transforms/emojis'
You can’t perform that action at this time.
0 commit comments