vue-navigation
Version:
A page navigation library, built with vue2 and vue-router2.
23 lines (19 loc) • 579 B
JavaScript
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
// import Navigation from '../../src'
import Navigation from '../../dist/vue-navigation.esm'
Vue.config.productionTip = false
// you can use with vuex
Vue.use(Navigation, { router, store })
// Vue.use(Navigation, {router})
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
template: '<App/>',
components: { App }
})