bazingaedward / monaco-editor-vue3

Monaco Editor for Vue3
MIT License
87 stars 17 forks source link

after import 'monaco-editor-vue3', quasar hmr doesn't work #32

Open nekooee opened 2 months ago

nekooee commented 2 months ago

After a few days of struggle, I finally found out why hmr doesn't work properly in quasar. When I comment the line below everything works!

import MonacoEditor from "monaco-editor-vue3";

my quasar version is:

 » Dev mode............... spa
 » Pkg quasar............. v2.16.6
 » Pkg @quasar/app-vite... v2.0.0-beta.15
qq466610987 commented 2 weeks ago

also meet the similar problem,i use vite and vue3,the hmr doesn't work