How would I setup the navigation to work using the Navigation component from Polaris? Normally with Next.js you would use a pages folder and name the folders in it to setup the path for the Link being clicked. When I created my project using the Shopify CLI the pages folder was missing, so i’m assuming since it is rendered as an iframe it may not be possible. I’m thinking I may have to use the onClick() and do it all with conditional rendering but I’m hoping this isn’t the case.
Nevemind, looks like react-router is the solution. Also Next.js isn’t the default used by the shopify cli like I thought.