fengzilong/regular-router

Remove old root component when root route is changed

Closed this issue · 0 comments

e.g. /login -> /authed/topics
Login is not destroyed when route is changed from /login to /authed/topics, currently only destroy component rendered in router-view.

Should destroy old root component if needed