Questions tagged [next.js13]
Next.js 13 is a version of the Next.js JavaScript web development framework released on October 26, 2022 and includes support for layouts, React Server Components, streaming, data fetching, and Turbopack, a new Rust-based successor to Webpack. Use this tag only for questions specific to Next.js 13 and its features. For generic Next.js programming questions, the [next.js] tag should be used.
next.js13
3,528
questions
18
votes
2
answers
16k
views
Next.js 13 - Have different shared layouts
I now want to upgrade to Next 13. I have different navbars on my portfolio. How can I use a different navbar for the /about and /skills route than the home page and /contact route?
I thought you could ...
0
votes
1
answer
1k
views
How to send custom props for Next.js notFound error page
In Nextjs you can declare 404 error like this:
return {notFound: true};
My question is how can I send additional data for my custom 404 page to show customized error text to users? Something like ...
24
votes
5
answers
28k
views
2 levels nested routing in nextjs
I carefully read the docs of next routing system.
It only mentions that I could achieve dynamic routing like this:
http://localhost:3000/level1/dynamicSlug
But I am trying to achive something like ...