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

17 lines
315 B
Vue
Raw Normal View History

2020-02-02 22:42:18 +00:00
<script lang="ts">
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-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>