自定义js/css 自定义代码主题

This commit is contained in:
tangly1024.com
2023-02-08 12:57:12 +08:00
parent 983504795e
commit 19448b63b4
9 changed files with 36 additions and 11 deletions

View File

@@ -18,6 +18,9 @@ const ExternalScript = () => {
loadExternalResource(url, 'css')
}
}
// 静态导入本地自定义样式
loadExternalResource('/css/custom.css', 'css')
loadExternalResource('/js/custom.js', 'js')
}, [])
return null
}