nativescript-vue / nativescript-vue-navigator

A simple router for NativeScript-Vue, built on top of $navigateTo to simplify routing from within components
MIT License
98 stars 10 forks source link

value.resolvedPage.__path always undefined #13

Closed ScottAtRedHawk closed 4 years ago

ScottAtRedHawk commented 4 years ago

Hi, In /components/Navigator.js line 46 value.resolvedPage.__path is always undefined, so the call to _updatePath() always passes the default route. The routing is working as far as screens go, but when I call this.$navigator.route in a component, it is always the default route object and not the current route that the app has navigated to.

rigor789 commented 4 years ago

@ScottAtRedHawk can you include a sample repository where this is not working? I'm using this pacakage with nativescript 6.x and it's working (this.$navigator.route works too).

ScottAtRedHawk commented 4 years ago

I'm not sure what I'm doing but it seems to work intermittently. I'm going to close this because I don't think it's an issue with the package, but rather my code. Thanks!

rigor789 commented 4 years ago

@ScottAtRedHawk if you need help debugging, share your issue on Slack, someone might be able to spot the issue!