vue-code-highlight icon indicating copy to clipboard operation
vue-code-highlight copied to clipboard

Throw "Prism is not defined" error when import prism-es6/components/prism-php

Open NextStepOfEvolution opened this issue 1 year ago • 0 comments

import { createApp } from 'vue';
import App from './App.vue';
import vueCodeHighlight from 'vue-code-highlight'; 
 const app = createApp(App);
    .use(vueCodeHighlight)
    .mount('#app');

use import 'prism-es6/components/prism-php'; in scf

NextStepOfEvolution avatar Jul 12 '23 10:07 NextStepOfEvolution