-
-
Notifications
You must be signed in to change notification settings - Fork 246
Description
Version
2.4.0
Reproduction link
https://play.nativescript.org/?template=play-vue&id=KQ1cFW
Platform and OS info
Android & iOS / NativeScript 6.0 / MacOS
Steps to reproduce
I have a router-view component. Router-View components first child is Frame and it renders own children.
Router module checking the project for if it has Vue-Router by the router-view component parent but I don't use vue-router and I created my own router-view component. So in my app, the router-view hasn't parent and app crash.
What is expected?
router-view is not the built-in plugin in nativescript-vue. It shouldn't happen
What is actually happening?
I get "Cannot read property 'tag' of undefined" error while the router-view is not a built-in plugin in nativescript vue.
The line that throws an exception:
https://github.com/nativescript-vue/nativescript-vue/blob/master/platform/nativescript/compiler/modules/router.js#L6