skip to Main Content

enter image description hereOnly when I add @flashSection module inside the app router, I can’t access the /some/1 page, when I remove the @flashSection module I can access that page, why is that happening to me enter image description here

I want to have both of this folders in my router, I have tried with both of them but it doesn’t works, can anyone explain to me how to solve this and why is that happening.
enter image description here

3

Answers


  1. Chosen as BEST ANSWER

    I can't embed images cuz I am fresher in stackoverflow, but error is not inside the fleshsection folde, should be something with modals, and nested routes I think


  2. While I may not be the best for this, I will try.

    Maybe the flash section folder is overriding the code you have showed us. Personally, I would recommend that you show us the code in ‘flash-section’, so we can figure out whats going on.

    Login or Signup to reply.
  3. I think it is happening because your url should be:

    http://localhost:300/some/[id]/page
    

    If you want to avoid writting the page word, I think your file page.js should be renamed to index.js

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search