pg-minimal-repro
This repo exists to investigate why routes for an Architect-powered SPA aren't resolving as expected
Steps to reproduce:
- Clone and install dependencies
- Run
npm run build:app
to compile the Svelte source in/app
to the/public
directory - Run
npm run dev:api
to spin up the arc sandbox - Navigate to http://localhost:3333 and click the links to load
/app/app-1
orapp-2
. - Refresh to verify that routes not defined in
app.arc
are correctly handled by index.html - Deploy (or visit this URL) and attempt to navigate: links can be followed within the app but deep linking to the resource fails because
/app/app-1
is routed to/app/app-1/index.html
Example URLs