mirror of
				https://github.com/vuejs/babel-plugin-jsx.git
				synced 2025-10-31 01:12:17 +08:00 
			
		
		
		
	
			
				
					
						
					
					063af0e9757713f21c9754223bd60949e9e60363
				
			
			
		
	Babel Preset JSX for Vue 3.0
To add Vue JSX support.
Syntax
functional component
const App = () => <div></div>
with setup render
const App = defineComponent(() => {
  const count = ref(0);
  return () => (
    <div>
      {count.value}
    </div>
  )
})
					Languages
				
				
								
								
									TypeScript
								
								97.6%
							
						
							
								
								
									CSS
								
								1.6%
							
						
							
								
								
									HTML
								
								0.5%
							
						
							
								
								
									JavaScript
								
								0.3%