mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-08 23:16:54 +00:00
build
This commit is contained in:
@@ -6,7 +6,7 @@ import { isBrowser, loadExternalResource } from '@/lib/utils'
|
|||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
const ExternalScript = () => {
|
const ExternalScript = () => {
|
||||||
if (isBrowser) {
|
if (isBrowser()) {
|
||||||
// 静态导入本地自定义样式
|
// 静态导入本地自定义样式
|
||||||
loadExternalResource(BLOG.FONT_AWESOME, 'css')
|
loadExternalResource(BLOG.FONT_AWESOME, 'css')
|
||||||
loadExternalResource('/css/custom.css', 'css')
|
loadExternalResource('/css/custom.css', 'css')
|
||||||
|
|||||||
Reference in New Issue
Block a user