Skip to content

nativescript-vue and nativescript-vue-template-compiler versions is not compatible each other #13

@osmanertem

Description

@osmanertem

nativescript-vue and nativescript-vue-template-compiler versions must be compatible with each other.

Currently;
nativescript-vue (v2.4.0), nativescript-vue-template-compiler (v2.2.2)
The plugin throws an exception(tag of undefined) while rendering the template in the following line;
https://github.com/nativescript-vue/nativescript-vue/blob/master/platform/nativescript/compiler/modules/router.js#L6

In our current implementation, router-view does not have a parent. But nativescript-vue-template-compiler expects router-view to have a parent after v2.2.2.

Suggestions to fix the issue

  1. Change router-view implementation to have a parent in App.vue or main.native.js
  2. Create an issue to change the implementation that requires a parent for router-view. In our opinion, it may not be necessary to check if the router-view element has a parent.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions