refactor: refactoring template
This commit is contained in:
+8
-3
@@ -3,23 +3,28 @@
|
||||
import 'core-js/es6/promise'
|
||||
import 'core-js/es6/string'
|
||||
import 'core-js/es7/array'
|
||||
|
||||
// import cssVars from 'css-vars-ponyfill'
|
||||
import Vue from 'vue'
|
||||
import BootstrapVue from 'bootstrap-vue'
|
||||
import App from './App'
|
||||
import router from './router'
|
||||
import CoreuiVue from '@coreui/vue'
|
||||
|
||||
Vue.config.performance = true
|
||||
|
||||
// todo
|
||||
// cssVars()
|
||||
|
||||
Vue.use(BootstrapVue)
|
||||
Vue.use(CoreuiVue)
|
||||
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
var vm = new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
template: '<App/>',
|
||||
components: {
|
||||
App
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user