Using mdx as fs routes #1663
hi-ogawa
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
Uh oh!
There was an error while loading. Please reload this page.
-
After the recent fs router refactoring, this probably became simpler. Here is an example repo if anyone is interested https://github.com/hi-ogawa/reproductions/tree/main/waku-mdx The same approach should work for other non default js language like ReScript etc.
@mdx-js/rollup
towaku.config.ts
.mdx
in custom server entry's fs router glob.src/pages
with mdx. For example,Beta Was this translation helpful? Give feedback.
All reactions