mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
自定义js/css 自定义代码主题
This commit is contained in:
@@ -18,6 +18,9 @@ const ExternalScript = () => {
|
||||
loadExternalResource(url, 'css')
|
||||
}
|
||||
}
|
||||
// 静态导入本地自定义样式
|
||||
loadExternalResource('/css/custom.css', 'css')
|
||||
loadExternalResource('/js/custom.js', 'js')
|
||||
}, [])
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user