seepur/resources/scripts/applications/home/main.vue

21 lines
492 B
Vue
Raw Normal View History

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";
import Vue from "vue";
2020-03-17 22:16:34 +00:00
import Vuex from "vuex";
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,
render: h => h(App)
}).$mount("#app");
2020-02-02 22:42:18 +00:00
export default app;
</script>