How to use the vuex/store.mainView function in vuex

To help you get started, we’ve selected a few vuex examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tyllo / Framework7-VueJS / src / mixins / global.js View on Github external
ready() {
    DEBUG && console.log('init component %s', this.$options.name)
    var mainView = store.mainView

    mainView.router.loadContent(this.$els.page)
    F7.params.swipePanel = 'left' // this.$route.panel
  },
}
github tyllo / Framework7-VueJS / src / modules / app / index.js View on Github external
ready() {
    DEBUG && console.log('init', name)

    F7.init()
    var mainView = F7.addView(this.$els.view, {})
    store.mainView = mainView
  },
}