chore: fix hydrate

This commit is contained in:
Anthony Fu committed 2020-12-03 09:29:44 +08:00
1 parent ecc436d0f3
commit 5578bb5075
4 files changed
+142 -63

No files matched your search

+2 -1
View File
@@ -8,4 +8,5 @@ const app = createApp(App)
installPlugins(app)
app.mount('#app')
// true for hydrate
app.mount('#app', true)
+1
View File
@@ -1,6 +1,7 @@
import { App } from 'vue'
import installRouter from './router'
import installI18n from './i18n'
import './icons'
export default (app: App) => {
installRouter(app)