42 lines
1.0 KiB
JavaScript
42 lines
1.0 KiB
JavaScript
import Vue from 'vue'
|
|
import router from './router'
|
|
import './assets/css/global.css'
|
|
import './assets/iconfont/iconfont.css'
|
|
import App from './App'
|
|
import store from './store'
|
|
import ElementUI from 'element-ui';
|
|
import 'element-ui/lib/theme-chalk/index.css';
|
|
import { Message } from 'element-ui';
|
|
import { fullScreenContainer, borderBox1, borderBox2, borderBox3, borderBox4, borderBox5, borderBox7, borderBox8, borderBox11, decoration6, decoration3 } from '@jiaminghi/data-view'
|
|
|
|
Vue.use(borderBox1)
|
|
Vue.use(borderBox2)
|
|
Vue.use(borderBox3)
|
|
Vue.use(borderBox4)
|
|
Vue.use(borderBox5)
|
|
Vue.use(borderBox7)
|
|
Vue.use(borderBox8)
|
|
Vue.use(borderBox11)
|
|
Vue.use(borderBox8)
|
|
Vue.use(decoration3)
|
|
Vue.use(decoration6)
|
|
Vue.use(fullScreenContainer)
|
|
|
|
Vue.prototype.$eventBus = new Vue()
|
|
Vue.config.productionTip = false;
|
|
Vue.use(ElementUI);
|
|
Vue.prototype.$message = Message;
|
|
console.log(this.$route)
|
|
// localStorage.setItem('token', this.$route.query.token)
|
|
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
store,
|
|
components: { App },
|
|
template: '<App/>',
|
|
created() {
|
|
|
|
}
|
|
})
|