We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed6701 commit 4522986Copy full SHA for 4522986
src/VueLive.vue
@@ -19,6 +19,7 @@ import "prismjs";
19
import "prismjs/themes/prism-tomorrow.css";
20
//vue-prism-editor dependency
21
import "vue-prism-editor/dist/VuePrismEditor.css";
22
+import "prismjs/components/prism-jsx.min";
23
24
import PrismEditor from "vue-prism-editor";
25
import Preview from "./Preview";
@@ -27,7 +28,7 @@ import hash from "hash-sum";
27
28
29
const LANG_TO_PRISM = {
30
vue: "html",
- js: "js"
31
+ js: "jsx"
32
};
33
34
export default {
0 commit comments