-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Environment
https://codesandbox.io/p/devbox/floral-shape-g3jqfk?workspaceId=e5b65ea6-731c-41c7-b94a-05025ff341b6
Reproduction
https://codesandbox.io/p/devbox/floral-shape-g3jqfk?workspaceId=e5b65ea6-731c-41c7-b94a-05025ff341b6
Describe the bug
The monaco volar package is not working correctly in Nuxt.
The same implementation works fine in a Vite + Vue setup, but in a Nuxt environment the monaco hover content is not displayed correctly.
There are no errors so it's a bit hard to debug. Setting up custom hover content works so I assume there is a problem with the Worker or Vite configuration, something related to Nuxt.
Nuxt environment(not working)
https://codesandbox.io/p/devbox/floral-shape-g3jqfk
Vue+Vite environment(working)
https://codesandbox.io/p/devbox/nifty-drake-pkr7jz
Additional context
No response
Logs
No response