Steps done:
- npm init @vitejs/app (choose svelte > javascript)
- cd vite-project && npm install
- npm install svelte-navigator --save
- added error showcase
To reproduce:
- cd vite-project && npm ci && npm run dev
- go to localhost:3000
- click error page and see console
When u run npm build and try /dist/index.html, then here it works. Vite build uses rollup.