28 lines
644 B
JavaScript
Executable File
28 lines
644 B
JavaScript
Executable File
// 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 VueWebsocket from "vue-websocket";
|
|
import utlis from "./utils"
|
|
import YDUI from 'vue-ydui';
|
|
import 'vue-ydui/dist/ydui.rem.css';
|
|
|
|
Vue.use(YDUI)
|
|
|
|
Vue.use(VueWebsocket,"ws://127.0.0.1:3000");
|
|
|
|
import store from './store/modules/UserMessage'
|
|
|
|
Vue.prototype.$utlis = utlis
|
|
Vue.config.productionTip = false
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: '#app',
|
|
store,
|
|
router,
|
|
components: { App },
|
|
template: '<App/>'
|
|
})
|