How to return a 404 Not Found page for dynamic routes in Next.js |

Поделиться
HTML-код
  • Опубликовано: 26 янв 2023
  • How to return a 404 Not Found page for dynamic routes in Next.js | #nextjs
    Code A Program...
    Share and subscribe ❤️
    Follow us on :
    Github : github.com/Sridhar-C-25
    Instagram: / codeaprogram
    👍Thanks for watching!
    Make sure to like + Subscribe For More!❤️
    #nextjs

Комментарии • 7

  • @_justinprojects
    @_justinprojects 4 месяца назад +1

    awesome! doesn't work for app router layouts though

  • @lekcio9357
    @lekcio9357 11 месяцев назад

    BIG thank you :)
    On the other hand, it simply displays the page without the data, it no longer sets an infinite request, but it doesn't redirect me to a 404 page :/.
    Any ideas?

  • @ArpaoProd
    @ArpaoProd 2 месяца назад +1

    what your theme vs code ?? i like it so muchh

    • @CodeAProgram
      @CodeAProgram  2 месяца назад +1

      Synthwave 84 color theme

    • @ArpaoProd
      @ArpaoProd 2 месяца назад

      thank you so much 🙌🙌@@CodeAProgram

  • @pablonicholassantos431
    @pablonicholassantos431 3 месяца назад

    man.. Nice video!! thanks!!! so.. how can I use the getServerSideProps with next.js14.. knowing that we can't put in inside of app/ '-' ?