### What problem does this feature solve? 当vue和single-spa这种微应用框架一起使用的时候,页面可能会有多个router实例,并且存在router实例需要被释放的场景。目前vue实例是可以正确的释放,但是router以及router创建的时候添加事件监听就不能得到释放,造成路由切换页面不响应和内存泄漏的问题。 ### What does the proposed API look like? router.$destory() 类似这种即可。 <!-- generated by vue-issues. DO NOT REMOVE -->