Using Laravel to develop a multi-page app using routes and blade instead of React

I’m in the process of developing my first app. I’ve installed the default laravel skeleton app and I am able to run this via my local machine through ngrok to my test store.

However, the default Laravel setup has given me a basic React setup but I want to use a standard multi-page setup utilising routes and blade templates.

I’ve been able to set up some basic routes to test this out. On first try, it gave me the ‘Missing host argument’ error in the URL. So I then went on to try and include the original query string in the links to other pages, but now it’s giving me the ‘There is no page at this address’ error.

I suppose my question is, am I able to build an embedded Shopify app with multiple pages (MPA) or does it need to be a single page app (SPA) such as React? If it is possible, how should the routes be set up in Laravel to allow page to page navigation?

1 Like