升级到 vue3

This commit is contained in:
lyswhut
2021-12-03 22:11:11 +08:00
parent c6635e554a
commit 8059d9cd73
260 changed files with 14443 additions and 10979 deletions
+6 -8
View File
@@ -1,17 +1,15 @@
import Vue from 'vue'
import { createApp } from 'vue'
import i18n from './plugins/i18n'
import './components'
import mountComponents from './components'
import App from './App'
import '../common/error'
Vue.config.productionTip = false
new Vue({
i18n,
el: '#root',
render: h => h(App),
})
const app = createApp(App)
app.use(i18n)
mountComponents(app)
app.mount('#root')