chore: fix hydrate
This commit is contained in:
1 parent
ecc436d0f3
commit
5578bb5075
4 files changed
+142
-63
No files matched your search
+2
-1
@@ -8,4 +8,5 @@ const app = createApp(App)
|
||||
|
||||
installPlugins(app)
|
||||
|
||||
app.mount('#app')
|
||||
// true for hydrate
|
||||
app.mount('#app', true)
|
||||
@@ -1,6 +1,7 @@
|
||||
import { App } from 'vue'
|
||||
import installRouter from './router'
|
||||
import installI18n from './i18n'
|
||||
import './icons'
|
||||
|
||||
export default (app: App) => {
|
||||
installRouter(app)
|
||||
|
||||
Reference in new issue
Block a user