Open dimaMachina opened 10 months ago
I'm currently adding twoslash
in v3, would that be a problem?
I'm currently adding
twoslash
in v3, would that be a problem?
no, go with it, ty
why drop support for pages
? why not support both?
why drop support for
pages
? why not support both?
because it requires a lot of engineering time, I already maintain this repo alone
Thanks for an awesome job you're doing.
I'd really really like to see some kind of primitive static data collections API in v14, like Astro's collections or json-server. https://docs.astro.build/en/tutorials/add-content-collections/ https://github.com/typicode/json-server
when will the v4 be release
Nextra v3 was finally released. And Nextra v4 prerelease just out! Currently without docs changes update or migration guide.
Nextra v4 will support a file-based router for your mdx files, for anyone who wants to give it a try, feel free to take a look at nextra.site migration https://github.com/shuding/nextra/tree/v4-v2/docs or blog https://github.com/shuding/nextra/tree/v4-v2/examples/blog
Nextra v4 will also support rendering your docs from a single catch-all route app/[[...slug]].jsx
. Currently, as unstable and without hot reloading working, but I will fix it before stable releasing Fixed.
Feel free to take a look at docs and i18n docs examples that were migrated to it! https://github.com/shuding/nextra/tree/v4-v2/examples
Prerelease v4 last versions: https://github.com/shuding/nextra/releases/tag/nextra%404.0.0-app-router.6 https://github.com/shuding/nextra/releases/tag/nextra-theme-docs%404.0.0-app-router.6 https://github.com/shuding/nextra/releases/tag/nextra-theme-blog%404.0.0-app-router.6
Feel free to share your feedback and create separated issues for problems you encountered
Have fun!
Yes, the search needs to index built .html files, you must to add postbuild
script as follows https://github.com/shuding/nextra/blob/c9d0ffc8687644401412b8adc34af220cccddf82/docs/package.json#L9
Also, nextra-theme-blog in v4 has search as well
Check out the last preview https://nextra-v2-6bnfo6seg-shud.vercel.app/ where you can see working search
https://github.com/shuding/nextra/releases/tag/nextra%404.0.0-app-router.13 is just out with Turbopack support
Fak yeah dude
For everybody waiting for Nextra v4, I am finishing the Blogpost announcement for Nextra v4 RC.0 with all features and migration guide, so stay tuned π
For everybody waiting for Nextra v4, I am finishing the Blogpost announcement for Nextra v4 RC.0 with all features and migration guide, so stay tuned π
Looking forward to it. I am currently using next 15 and searching the whole v4-v2 branch for any information. I will wait for you then
Nextra v4 is looking π₯ ! Can't wait for RC.0 and a blogpost @dimaMachina . Thanks for all the work!
For everybody waiting for Nextra v4, I am finishing the Blogpost announcement for Nextra v4 RC.0 with all features and migration guide, so stay tuned π
Waiting
pages
router, supportapp
router instead https://github.com/shuding/nextra/issues/2023theme.config
files in favour of passing theme options asprops
in Next.js'layout
file https://github.com/shuding/nextra/issues/2887Banner/Navbar/Footer
etc.) https://github.com/shuding/nextra/issues/332useData
hook in favour async server componentsbackgroundColor
accept rgb and hex values instead of11,45,33
format https://github.com/shuding/nextra/issues/2772#issuecomment-1985977827