2020-02-02 22:42:18 +00:00
|
|
|
<script lang="ts">
|
2020-04-12 14:25:42 +00:00
|
|
|
import "regenerator-runtime/runtime.js";
|
|
|
|
// import Ws from "@adonisjs/websocket-client";
|
|
|
|
// import WsPlugin from "adonis-vue-websocket";
|
2020-01-26 22:16:16 +00:00
|
|
|
import Vue from "vue";
|
2020-03-17 22:16:34 +00:00
|
|
|
import Vuex from "vuex";
|
2020-01-26 22:16:16 +00:00
|
|
|
import App from "./app.vue";
|
2020-02-02 22:42:18 +00:00
|
|
|
import AppRouter from "./router/router.vue";
|
2020-03-17 22:16:34 +00:00
|
|
|
import store from "./state.vuex";
|
2020-02-02 22:42:18 +00:00
|
|
|
|
2020-04-12 14:25:42 +00:00
|
|
|
// Vue.use(WsPlugin, { adonisWS: Ws });
|
2020-03-17 22:16:34 +00:00
|
|
|
Vue.use(Vuex);
|
2020-02-02 22:42:18 +00:00
|
|
|
const app = new Vue({
|
|
|
|
router: AppRouter,
|
2020-03-17 22:16:34 +00:00
|
|
|
store,
|
2020-01-26 22:16:16 +00:00
|
|
|
render: h => h(App)
|
|
|
|
}).$mount("#app");
|
|
|
|
|
2020-02-02 22:42:18 +00:00
|
|
|
export default app;
|
|
|
|
</script>
|