17 lines
457 B
JavaScript
17 lines
457 B
JavaScript
// The Vue build version to load with the `import` command
|
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
|
import Vue from 'vue'
|
|
import App from './App'
|
|
|
|
window.data = (window.data || window.alert('Something is wrong, please refresh!'))
|
|
window.ssl = (window.location.protocol === 'https:')
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: '#app',
|
|
template: '<App/>',
|
|
components: { App }
|
|
})
|