Skip to content

Fix "Error: 'default' is not exported" #16

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

paladox
Copy link
Member

@paladox paladox commented Dec 3, 2024

Under esm it's throwing "[!] Error: 'default' is not exported by external/ui_npm/node_modules/highlightjs-vue/dist/highlightjs-vue.esm.js, imported by lib/highlightjs/index.js"

Under esm it's throwing "[!] Error: 'default' is not exported by external/ui_npm/node_modules/highlightjs-vue/dist/highlightjs-vue.esm.js, imported by lib/highlightjs/index.js"
qtprojectorg pushed a commit to qtqa/gerrit that referenced this pull request Dec 4, 2024
Use text/x-vue for the mime.

Also install vue-plugin for highlight.js.

Until [0] is merged, we have to use my fork containing the fix.

[0] highlightjs/highlightjs-vue#16

Release-Notes: skip
Change-Id: I59d3ee55bd88438001f47946a639f1ce1126fb8f
qtprojectorg pushed a commit to qtqa/gerrit that referenced this pull request Dec 4, 2024
Use text/x-vue for the mime.

Also install vue-plugin for highlight.js.

Until [0] is merged, we have to use my fork containing the fix.

[0] highlightjs/highlightjs-vue#16

Release-Notes: skip
Change-Id: I59d3ee55bd88438001f47946a639f1ce1126fb8f
(cherry picked from commit 5771f13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant