Next.js MDX is pretty awesome
Вставка
- Опубліковано 28 кві 2024
- My Products
📖 ProjectPlannerAI: projectplannerai.com
🤖 IconGeneratorAI: icongeneratorai.com
📝 ThumbnailCritique: thumbnailcritique.com
Useful Links
💬 Discord: / discord
🔔 Newsletter: newsletter.webdevcody.com/
📁 GitHub: github.com/webdevcody
📺 Twitch: / webdevcody
🤖 Website: webdevcody.com
🐦 Twitter: / webdevcody
MDX is awesome, for docs and for blog posts as well, especially if you want to embed a one off component to enhance the post, Josh Comeau does this really well on his.
Personally went with Contentlayer (when it was maintained) and then Velite since then. Advantages for me on those over NextJS MDX are that the MDX doesnt have to be part of my router. Other than that minor differences in approach!
Looking forward to the starter kit!
Definitely a good idea, I ended up going with Nextra in a separate repo, this allowed me to easily add a subdomain. I see a lot of companies and projects using Nextra for their docs, was surprised you chose to do it this way.
I need to look more into it, but i was annoyed it required the pages router. I don’t want to require someone to need to know both pages and app router to maintain their project
@@WebDevCody thats a good point although using nextra itself is relatively easy unlike a traditional next app (pages or app router). But I see your point of trying to centralize everything in a mono repo
You inspired me to build saas and im now working on 2
Thank you
Awesome man, stick to it!
Seems to be all the rage amongst indie devs lol
I'm trying to get my 💰
This what Ive been trying to tell everyone thanks for spreading the good word
really like your conent, keep it up!
Also, Nextra is supported by vercel now I believe
Hey man how did you make that navigation progress? it looks good
It’s a library called nextjs top loader
Is the source code for this video available in your GitHub? I’d love to see how implemented mdx to your project. If no, do you have any other repos where you used mdx?
so good i watched it twice ngl
Good job babe!
Velite also good option for mdx ..
2:33 lol I always get markdown links wrong on my first try
Would be nice if this allows some kind of search.
If what allowed search? The docs?
@@WebDevCody some way to search the markdown content so as to create a result page.
is this the latest thing in the weird and wacky world of JavaScript? I don't know how you can maintain the enthusiasm at this point
The more people do these kinds of things the more people like you are going to cry about it
@@SamedGaming 🤣🤣
@@SamedGaming u wot m8
Shipfast alternative?
Yeah pretty much.
@@WebDevCody Honestly I would buy it if it were based on the T3 stack (or similar). I got shipfast to check out the stack, but I'm not really fond of trying to implement drizzle or prisma ontop of supabase postres db (since I don't want to use the supabase query builder).
@@Ivcota dito that, I would want something more robust. Shipfast seems like its meant for people building micro-saas products
@@Ivcota oh shipfast doesn’t use an orm?
@@WebDevCody Shipfast doesn't include an ORM for the Postgres / Supabase branch. It only provides one for the Mongo branch via Mongoose. You get the superbase client, but then you have everything else bundled with supabase and it feels too opinionated on it.
I’m about to open source my starter kit cli. 32 templates in one command
Oh niceee I’ll be on the lookout
@@WebDevCody Should be about a week. I’ll tag you and let you know
RIP shipfast
🤣 idk about that, but just from friendly competition for sure
@@WebDevCody I bought shipfast. It’s actually pretty good. What I liked about it was that within the code he included comments for different sections of the landing page in marketing tactics you should be using. Which is really helpful. I’m he tries to approach his boilerplate as not just a codebase to get you started but truly how to launch a microsaas end to end. Small details matter
LOL idk why but the dudes content feels so disingenuous
@@cas818028 I’m sure his starter kit is filled with good info. I was thinking about buying it to see what it actually provides, but I wanted to build as much as I could without tainting my approach first