mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-10-31 19:42:07 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			312 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			312 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { defineComponent, ref } from 'vue';
 | |
| import App from './app';
 | |
| 
 | |
| const h2 = 1;
 | |
| 
 | |
| export default defineComponent({
 | |
|   name: 'Index',
 | |
|   setup() {
 | |
|     const count = ref(0);
 | |
| 
 | |
|     count++;
 | |
|     count + 1;
 | |
|     1 + count;
 | |
| 
 | |
|     return () => (
 | |
|       <>
 | |
|         <h1>About</h1>
 | |
| 
 | |
|         <App />
 | |
|       </>
 | |
|     );
 | |
|   },
 | |
| });
 |