/*!

=========================================================
* BootstrapVue Argon Dashboard - v1.0.0
=========================================================

* Product Page: https://www.creative-tim.com/product/bootstrap-vue-argon-dashboard
* Copyright 2020 Creative Tim (https://www.creative-tim.com)

* Coded by www.creative-tim.com

=========================================================

* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

*/
import Vue from 'vue';
import App from './App.vue';
import DashboardPlugin from './plugins/dashboard-plugin';
import WebSocketPlugin from './util/WebSocketPlugin';

import store from './store';

// router setup
import router from './routes/router';
// plugin setup

Vue.use(DashboardPlugin);
Vue.use(WebSocketPlugin, { url: 'ws://127.0.0.1:8001', autoReconnectInterval: 5000 });

/* eslint-disable no-new */
new Vue({  
  el: '#app',
  router,
  store,
  render: h => h(App),
});
