Builder.io Qwik app Integration - Creating new pages always returns 404 not found

If you are following our guide on Integrating pages for the Qwik app and If you’re getting a 404 when creating a test page

So the issue is with the Qwik setup, you have created an index.tsx file which will create a ‘/’ route so location.pathname will always be equal to ‘/’. In this case, other routes are not created therefore returning 404.

To resolve this you might need to add a [...slug] folder to the index.tsx file

You can read more about it at Qwik Route Parameters.