fix: font-size ssr
This commit is contained in:
parent
597617b7e6
commit
b40832a7eb
6 changed files with 34 additions and 19 deletions
|
@ -66,10 +66,3 @@ export async function setupI18n() {
|
|||
})
|
||||
})
|
||||
}
|
||||
|
||||
export async function setupFontSize() {
|
||||
if (!process.server) {
|
||||
setFontSizeCSSVar()
|
||||
watch(fontSize, setFontSizeCSSVar)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue