vue2-admin-lte
Version:
adminLTE to vuejs v2.x converting project
25 lines (21 loc) • 522 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 './lib/css'
import './lib/script'
import './lib/global'
import Vue from 'vue'
import App from './App'
import router from './router'
import EventBus from './lib/eventBus.js'
import axios from 'axios'
Vue.prototype.$bus = EventBus
Vue.prototype.$http = axios
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
template: '<App/>',
components: {
App
}
})