mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
feat(cli): pc 组件预览支持 i18n (#8346)
This commit is contained in:
parent
be27bd6907
commit
919a9976b1
@ -7,5 +7,8 @@ import { router } from './router';
|
|||||||
window.app = createApp(App)
|
window.app = createApp(App)
|
||||||
.use(router)
|
.use(router)
|
||||||
.use(packageEntry)
|
.use(packageEntry)
|
||||||
.component(DemoPlayground.name, DemoPlayground)
|
.component(DemoPlayground.name, DemoPlayground);
|
||||||
.mount('#app');
|
|
||||||
|
setTimeout(() => {
|
||||||
|
window.app.mount('#app');
|
||||||
|
}, 0);
|
||||||
|
@ -8,7 +8,8 @@ module.exports = function () {
|
|||||||
return {
|
return {
|
||||||
devtool: false,
|
devtool: false,
|
||||||
entry: {
|
entry: {
|
||||||
'site-mobile': ['./docs/site/mobile'],
|
'site-mobile': ['./docs/site/entry'],
|
||||||
|
'site-desktop': ['./docs/site/entry'],
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user