Mdx as route
Hi!, It is posible to add mdx file as route in file based routing?
12 Replies
conscious-sapphire•9mo ago
not yet
deep-jadeOP•9mo ago
ok, thanks!
conscious-sapphire•9mo ago
added this here https://github.com/TanStack/router/discussions/3861
GitHub
[router-generator] Framework specific file-naming conventions · Ta...
Currently, the routeTree generation support file routes of the following naming: solid: .tsx, .ts (jsx: preserve, jsxImportSource: "solid-js") react: .tsx, .ts (jsx: "react-jsx"...
conscious-sapphire•9mo ago
might want to chime in whether you want to use path and params for mdx routes
constant-blue•9mo ago
@isccown125 where you able to get mdx to work? i have been struggling all day to get it to work with start
deep-jadeOP•9mo ago
@gaytomycode i run mdx with vite 😄
deep-jadeOP•9mo ago
MDX
Markdown for the
component era | MDX
MDX lets you use JSX in your markdown content. You can import components, such as interactive charts or alerts, and embed them within your content. This makes writing long-form content with components a blast.
deep-jadeOP•9mo ago
in vite config you should add plugin

deep-jadeOP•9mo ago
from :
deep-jadeOP•9mo ago
If you use weback or other frameword/js/ts you have tutorial in docs
like-gold•6mo ago
curiuos how this would work with TanstackStart
any luck?
harsh-harlequin•5mo ago
Anyone has a solution to share?