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-30 15:04:01 +00:00
|
|
|
if (window.info === undefined || window.info === null) {
|
|
|
|
window.alert('Something is wrong, please refresh!')
|
|
|
|
window.location.reload()
|
|
|
|
}
|
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 }
|
|
|
|
})
|