1👍
✅
Yes, you should use Vue Router. This way the popup.html contains the entire Vue app, and you can route based on authentication as usual.
Since it’s a chrome extension, opening the popup will default to a single page (i.e. index.html) but you can redirect as needed within you Vue app based on extension storage/state.
As far as I know, there’s no way to conditionally load a different popup page based on state. So Vue routing is the way to go.
Source:stackexchange.com