mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-10-31 11:32:09 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			420 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			420 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { createApp } from 'vue';
 | |
| import DemoBlock from './components/DemoBlock.vue';
 | |
| import DemoSection from './components/DemoSection.vue';
 | |
| import { router } from './router';
 | |
| import App from './App.vue';
 | |
| import '@vant/touch-emulator';
 | |
| 
 | |
| window.app = createApp(App)
 | |
|   .use(router)
 | |
|   .component(DemoBlock.name, DemoBlock)
 | |
|   .component(DemoSection.name, DemoSection);
 | |
| 
 | |
| setTimeout(() => {
 | |
|   window.app.mount('#app');
 | |
| }, 0);
 |