Example: Nano JSX #2532
JumpLink
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is also possible to use Nano JSX for rendering JSX in MDX, here is a small example:
example.mdx
:index.tsx
:That should have already shown the most important thing. In my case I used
esbuild
, here are the remaining files for this setup:esbuild.js
:tsconfig.json
:package.json
:npm run build npm run ssr # Output: <h2>Hello World</h2>
Beta Was this translation helpful? Give feedback.
All reactions