Reposting this to make sure there’s visibility that it’s a bug.
For some reason, the app bar nav link URLs now have /s added to the end of them. This is breaking routing in Next.js apps, causing 404s. The tutorial must be broke as well, because of this.
Steps to reproduce:
-
Spin up a new project with the Shopify CLI
-
Create a random page in your Next.js app
-
Add a navigation bar link to the random page
-
Run
shopify serveand install your app in a dev store -
Click the link and observe that it 404s
Someone else confirmed it in my previous thread https://community.shopify.com/post/649499