mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
15 lines
374 B
JavaScript
15 lines
374 B
JavaScript
import { createApp } from 'vue';
|
|
import { packageEntry } from 'site-desktop-shared';
|
|
import App from './App';
|
|
import DemoPlayground from './components/DemoPlayground';
|
|
import { router } from './router';
|
|
|
|
window.app = createApp(App)
|
|
.use(router)
|
|
.use(packageEntry)
|
|
.component(DemoPlayground.name, DemoPlayground);
|
|
|
|
setTimeout(() => {
|
|
window.app.mount('#app');
|
|
}, 0);
|