Profectus/src/main.js

17 lines
305 B
JavaScript
Raw Normal View History

2021-05-20 05:11:03 +00:00
import Vue from 'vue';
2021-05-26 01:57:02 +00:00
import App from './App';
2021-05-20 05:11:03 +00:00
import store from './store';
2021-05-26 01:57:02 +00:00
import { layers, hotkeys } from './store/layers';
2021-05-19 22:21:51 +00:00
2021-05-22 20:29:06 +00:00
// Setup
2021-05-20 05:11:03 +00:00
Vue.config.productionTip = false;
2021-05-19 22:21:51 +00:00
2021-05-22 20:29:06 +00:00
// Create Vue
window.vue = new Vue({
store,
2021-05-22 20:29:06 +00:00
render: h => h(App),
data: { layers, hotkeys }
2021-05-20 05:11:03 +00:00
}).$mount('#app');
2021-05-22 20:29:06 +00:00
// Start game loop