I am developing a SPA which has an admin section that I would like to separate from the rest of the application. It gets a bit messy with nested views/pages and mixed anonymous users and authenticated users. Plus that there is lots of code downloaded to the client which in the most part is never used.
I have successfully created two apps that coexist in the same codebase which lets me share code between the two apps. I created a secondary index.html under admin-folder which points out my admin.main module. Parcel is compiling both apps just by adding a second path to my other html file. All is good, BUT! now when I test the application in the browser I have to type in http://localhost:1234/admin/index.html or http://localhost:1234/index.html to hit my apps. The address used to be http://localhost:1234/#/.
Can someone help me?
Ps, thank you to users on Slack that helped me come this far!