Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Vue-onsenui v-ons-navigator + v-ons-tabbar + vue-router

  • Hello Community ,

    I’m trying to use this two components togeter with vue-router. Is it possible to mix


      <router-view slot="pages"></router-view>
      <v-ons-tab v-for="name in ['Home', 'Settings']" :key="name"
        :active="$ === name"

    with Navigator

    template: `
      <div id="app">
        <v-ons-navigator swipeable
    methods: {
      goBack() {
        this.$router.push({ name: this.$route.matched[this.$route.matched.length - 2].name });
    created() {
      const mapRouteStack = route => this.pageStack = => m.components.default);
      this.$router.beforeEach((to, from, next) => mapRouteStack(to) && next());