-
-
Notifications
You must be signed in to change notification settings - Fork 9
topmost() is undefined #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you describe your issue in more detail, steps to reproduce or a sample that shows the issue? |
Example: main.js import Vue from 'nativescript-vue'
import App from './App'
import Navigator from 'nativescript-vue-navigator'
import { routes } from './routes'
...
...
// setup routes
Vue.use(Navigator, { routes })
new Vue({
store,
render: h => h(App)
}).$start() App.vue
Welcome.vue
console.log(frameModule.topmost()) got undefined |
@rushairer I am also using this plugin and I am able to reference topmost() by importing it as its own module.
Then I can reference it below as |
@darrenkhouston Thanks, I will try it. |
@rushairer sure thing. Should also note that calling |
Thanks |
The page is set to defaultRoute
frameModule.topmost()
I got 'undefined'
If not a defaultRoute page, just use this.$navigator.navigate open it,
topmost is not 'undefined' now.
The text was updated successfully, but these errors were encountered: