erikringsmuth / app-router

Router for Web Components
https://erikringsmuth.github.io/app-router/
MIT License
610 stars 83 forks source link

How to deploy app to sub-directory #160

Open jaichandra opened 7 years ago

jaichandra commented 7 years ago

How can I deploy an app using app-router to a subdirectory? The routes are mapped to root directory by default and works fine when using localhost. But, deploying the app to a subdirectory fails to load as the routes no more work.

jmalonzo commented 7 years ago

@jaichandra Do you have a jsbin somewhere I can take a look at? What's your path regex like?