mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
refactor(@vant/cli): remove component auto registration
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user