single-spa / single-spa-vue

a single-spa plugin for vue.js applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Critical Error: Vue-Router error when navigating from a Angular app

brunomartinspro opened this issue · comments

Demonstration

When going from a Vue app to an Angular app, and then returning to the root i get the error:
error

Complete Demonstration
error

The error can be reproduced using this repository https://github.com/brunomartinspro/single-spa (the README includes instructions for reproducing this)

Possible Vue-Router fix

The possible correction for this behavior was created on vuejs/router#1502
Also mentioned on single-spa/single-spa-angular#452

Expected Behavior

I can navigate back to the root from another angular app

Actual Behavior

I get an error in the Vue-Router, and it prevents me from returning to the root

Thank you!

Found the issue in single-spa, i will open this at the main package and also open several pull requests to fix this.