vue-plugin
vue-plugin copied to clipboard
Highlight.js Vue Plugin
On my local PC (localhost - dev server) the code renders 100% But on our production server (After build) it shows as plain text.
When both "preserveValueImports" and "isolatedModules" are enabled, you must import using type-only imports.
scr/vue.js ```TypeScript 1: import { ref, h, computed, defineComponent, Plugin, watch } from 'vue' ``` The first line in this file to import the type 'plugin' should be marked with...
I've seen that this project is no longer maintained, but I wanted to share this experience nonetheless, so other people are aware of this. When I specify typescript as a...