2017-06-28 10:45:41 +00:00
|
|
|
import Vue from 'vue'
|
|
|
|
import App from './App'
|
2017-06-30 09:25:35 +00:00
|
|
|
import store from './store/store'
|
2017-06-28 10:45:41 +00:00
|
|
|
|
2017-06-28 15:05:30 +00:00
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
2017-06-28 21:20:28 +00:00
|
|
|
var $ = (window.info || window.alert('Something is wrong, please refresh!'))
|
2017-06-28 10:45:41 +00:00
|
|
|
|
2017-06-29 10:34:47 +00:00
|
|
|
// TODO: keep this here? Maybe on app.vue?
|
|
|
|
document.title = $.req.data.name
|
2017-06-28 15:05:30 +00:00
|
|
|
|
2017-06-28 10:45:41 +00:00
|
|
|
/* eslint-disable no-new */
|
|
|
|
new Vue({
|
|
|
|
el: '#app',
|
2017-06-30 09:25:35 +00:00
|
|
|
store,
|
2017-06-28 10:45:41 +00:00
|
|
|
template: '<App/>',
|
|
|
|
components: { App }
|
|
|
|
})
|