feat(cli): pc 组件预览支持 i18n (#8346)

This commit is contained in:
郑昊川
2021-03-15 16:58:00 +08:00
committed by GitHub
parent be27bd6907
commit 919a9976b1
3 changed files with 7 additions and 3 deletions
+5 -2
View File
@@ -7,5 +7,8 @@ import { router } from './router';
window.app = createApp(App)
.use(router)
.use(packageEntry)
.component(DemoPlayground.name, DemoPlayground)
.mount('#app');
.component(DemoPlayground.name, DemoPlayground);
setTimeout(() => {
window.app.mount('#app');
}, 0);