Example Vite + MDX + Preact. To run it: git clone git@github.com:brillout/vite-plugin-mdx cd vite-plugin-mdx/examples/preact/ yarn start If you don't have yarn v1 installed yet: npm install --global yarn