refactor(@vant/cli): remove component auto registration

This commit is contained in:
chenjiahan
2021-09-05 16:14:22 +08:00
parent b4be171028
commit 911d0669de
68 changed files with 172 additions and 9 deletions

View File

@@ -2,13 +2,11 @@ import { createApp } from 'vue';
import DemoBlock from './components/DemoBlock.vue';
import DemoSection from './components/DemoSection.vue';
import { router } from './router';
import { packageEntry } from 'site-mobile-shared';
import App from './App.vue';
import '@vant/touch-emulator';
window.app = createApp(App)
.use(router)
.use(packageEntry)
.component(DemoBlock.name, DemoBlock)
.component(DemoSection.name, DemoSection);