Open eguvenc opened 1 year ago
Information:
Description I use Vue.js 3.3.4, In my main.js file i have below the lines.
import Prism from "prismjs"; import "prismjs/components/prism-markup.js"; import "prismjs/components/prism-markup-templating.js" import "prismjs/themes/prism-dark.css"; // you can change import 'prismjs/components/prism-php'; import 'prismjs/components/prism-bash'; app.use(Prism);
But i get this error.
Example No.
Hello, Prism is not meant to be used directly as a Vue.js plugin. You might wanna look for a Vue-specific implementation of Prism, I believe there exists multiple ones.
Information:
Description I use Vue.js 3.3.4, In my main.js file i have below the lines.
But i get this error.
Example No.