Vue 3 + vite-plugin-ssr + MDX? #2090
-
Hello MDX folks, I was wondering if the integration between Vue 3, Here's all the relevant code I can provide, perhaps I'm missing something obvious: App.vue:
package.json:
vite.config.ts:
With this configuration, I get the following error:
Even though I am clearly importing I am stuck and the error message is not detailed enough for me to know what to try next. I also checked online and could only find examples of it working with React, so wondering if support for Vue just isn't there yet. Thank you so much in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Check out the mdx getting started guide for vue: https://mdxjs.com/docs/getting-started/#vue
the error you shared:
sounds like it may be due to the lack of the Babel JSX transformer, or an equivalent, transforming the JSX to plain JS. |
Beta Was this translation helpful? Give feedback.
Check out the mdx getting started guide for vue: https://mdxjs.com/docs/getting-started/#vue
in particular the notes from the example:
the error you shared:
sounds like i…