-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hljs.highlight is not a function #29
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
I had a similar error message:
Downgrading highlight.js to ^9.11.0 fixed that. Thanks for the pointer! |
highlightjs support Vue officially now.
|
Version 4 was released. |
I got this error (hljs.highlight is not a function) and it turned out to be because highlight.js revved to 10.1.1, and somewhere along the line it's now incompatible with vue-highlight.js
Workaround is to set the highlight.js version to ^9.11.0 in package.json.
Might want to revisit the decision not to Move highlight.js from peerDependencies into dependencies
The text was updated successfully, but these errors were encountered: