Commit 09f22cf
committed
Fix mdx-components.tsx generation in --add mode
- Remove fumadocs-ui/mdx import (not in dependencies)
- Use getMDXComponents() from template's mdx/index.tsx
- Fixes build errors when deploying to Vercel1 parent 6901714 commit 09f22cf
2 files changed
Lines changed: 3 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
| 301 | + | |
309 | 302 | | |
310 | 303 | | |
311 | 304 | | |
312 | | - | |
| 305 | + | |
313 | 306 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | 307 | | |
329 | 308 | | |
330 | 309 | | |
| |||
0 commit comments