nativescript-vue-navigator
nativescript-vue-navigator copied to clipboard
A simple router for NativeScript-Vue, built on top of $navigateTo to simplify routing from within components
Clean project package.json ``` ... "dependencies": { ... "nativescript-vue": "^2.6.1", "nativescript-vue-navigator": "^1.2.0", "tns-core-modules": "^6.5.1", ... } ... ``` router.js ``` ... const routes = { App: { component: App }...
To use this.$navigateTo() you now have to specify the frame ID 'navigator' explicitly or it won't navigate. Also won't give an error unless you add a catch(). This after running...
When I open app, then minimize, then open again via icon, when I press back button on Android device, page goes navigate to same page, however it is first page...
BUG 3
when I combine with global RadListView, after visited some page, app out of memory, become lagging, then closed by itself
```js async onModal(path, options = { fullscreen: true }) { await setTimeout(() => { // this.$goto(route) this.$navigator.modal(path, options) }, 0) }, ``` BUG JS: [Navigator] Failed to show modal: Error:...
`, ` BUG JS: [Navigator] Failed to show modal: Error: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState 1. I open modal, then modal closed 2. I minimize app, the...
It would really be helpful to have access to all the routes from the `$navigator` object. Right now we can only access the current route. This would be helpful, for...
I have a pretty simple setup: - A basic login component that calls `this.$navigator.navigate('/landing')`. - The Landing component just console.logs `this.$navigator.path` within mounted and it spits out `/login` instead of...
It would be very useful to implement an activity indicator, which greyes out the background and shows an activity indication (e.g. inside a transparent modal). Then only after the single...
Example: "/chart" -> parent - / stock-market -> children of chart - /forex - >children of chart