mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-06 23:21:16 +08:00
fix: hljs 优化导入
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import hljs from 'highlight.js'
|
||||
import hljs from 'highlight.js/lib/common'
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
const theme =
|
||||
document.documentElement.dataset.theme ||
|
||||
|
||||
Reference in New Issue
Block a user