Mesut Koca

Results 28 comments of Mesut Koca

Hey @dzikoysk! Thanks for the detailed info. I will try to fix it tomorrow evening. I will let you know. :)

Yep its related to #119, thanks for the help, i appreciated (dziekuje bardzo :D).

Hey guys just released `v2.0.0-alpha.1` which supports vue 3. example vue 3 csb: https://codesandbox.io/s/vue-3-support-for-vue-prism-editor-fm7v5 install: ```sh npm install vue-prism-editor@alpha ``` or ```sh yarn add vue-prism-editor@alpha ``` cheers 🎉

thanks @Atinux. Released a new version `v2.0.0-alpha.2` for vite support. I made an example for vite + prismjs + vue-prism-editor usage: vite csb: https://codesandbox.io/s/vite-vue-prism-editor-q9j8p?file=/src/components/CodeEditor.vue install: ```sh npm install vue-prism-editor@alpha ```...

> @koca do you plan to add support to vite in the Vue 2 version? I'm stuck on Vue 2 but also really want to use vite haha Sure, you...

> Yeah, I worked around it by adding > > ``` > > const global = globalThis; > > ``` > > To my index.html, but it would be nice...

I guess yes, have you tried it?

Hey! Can you provide an example using codesandbox or stackblitz. Thanks :) i will re-open this issue once you have it.

Hey @surister thanks a lot for the codesandbox link. I will check it and try to fix the issue. I will let you guys know :)

Hey @Alex7TCK. Thank you for the report, this is a known issue (see #117). I will try to fix it tomorrow evening.