1 min readMay 3, 2019
I tried to implement your code but router always pushes to the '/'
Also I got [Vue warn]: Unknown custom element: <router-view> — did you register the component correctly? For recursive components, make sure to provide the “name” option.
Any ideas ?