#how can I create new pages in storefront with declaring my route to this new page created ?

3 messages · Page 1 of 1 (latest)

mighty roost
#

how can I create new pages in storefront with declaring my route to this new page created ? I see that all routes are created in .cache. Are there another possibility to created new pages in store front along with declarations in order to navigate to that page?

bold marsh
# mighty roost how can I create new pages in storefront with declaring my route to this new pag...

basically with next js app router: https://nextjs.org/docs/app/building-your-application/routing/defining-routes
https://nextjs.org/docs/app/building-your-application/routing/pages-and-layouts
should be straight forward, not sure which routes you see in cache but it might be the static pages which generated on advance on the build time

Learn how to create your first route in Next.js.

Create your first page and shared layout with the App Router.

mighty roost
#

Thank you so much!