This test app demostrates an issue with Sveltekit where internal routing from a sub app (ie a dynamically loaded web component) is coming back into sveltekit. This causes issues, as when page reloaded, route is not known. Ideally, we would like to know how to prevent not showing sub app's routes at all.
Note: The built Web Component is found in the static/assets directory. To see the actual web component, and rebuild if needed, go to next section
The sample Angular web component can be found in the 'app-wc-ui' directory
Using node v16.x, run 'npm install' followed by
Copy built WC from the dist/app-wc-ui/assets to the static/assets directory of the Starter Sveltekit