字体相关调整

This commit is contained in:
tangly1024.com
2023-02-09 14:46:32 +08:00
parent f9d4472245
commit 6f13f0a57b
17 changed files with 42 additions and 43 deletions

View File

@@ -19,8 +19,14 @@ const ExternalScript = () => {
}
}
// 静态导入本地自定义样式
loadExternalResource('/css/all.min.css', 'css')
loadExternalResource('/css/custom.css', 'css')
loadExternalResource('/js/custom.js', 'js')
// 渲染所有字体
BLOG.FONT_URL?.forEach(e => {
loadExternalResource(e, 'css')
})
}, [])
return null
}