mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
feat(vant-cli): 增加用于 demo 组件展示的 playground 组件
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
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).mount('#app');
|
||||
window.app = createApp(App)
|
||||
.use(router)
|
||||
.use(packageEntry)
|
||||
.component(DemoPlayground.name, DemoPlayground)
|
||||
.mount('#app');
|
||||
|
Reference in New Issue
Block a user