21 lines
348 B
JavaScript
21 lines
348 B
JavaScript
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
|
|
import router from './router'
|
|
import store from './store'
|
|
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
store,
|
|
render: h => h(App)
|
|
})
|
|
|
|
if (module.hot) {
|
|
module.hot.accept(); // already had this init code
|
|
|
|
module.hot.addStatusHandler(status => {
|
|
if (status === 'prepare') console.clear();
|
|
});
|
|
}
|