Skip to content

關於二次開發時報錯 #84

Closed Answered by D-Sketon
katelynn620 asked this question in Q&A
Discussion options

You must be logged in to vote

可以复现

问题在于不支持import merge from 'hexo-util'这种导入,如果使用import默认导入会无法识别
应该为
import { deepMerge } from 'hexo-util'

const merge = require('hexo-util')

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@zkz098
Comment options

@D-Sketon
Comment options

@zkz098
Comment options

Answer selected by zkz098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants