Skip to content

Commit 862c914

Browse files
Debugging prism issues
1 parent cabaab6 commit 862c914

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

dist/vue3-code-block.es.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue3-code-block.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/plugin/CodeBlock.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,8 @@ function renderCode(): void {
637637
}
638638
639639
if (props.prismjs) {
640-
import('prismjs').then((result) => {
641-
prismModule = result;
640+
import('prismjs').then((module) => {
641+
prismModule = module.default;
642642
643643
renderedCode.value = prismModule.highlight(
644644
convertedCode.value,

0 commit comments

Comments
 (0)