symfony / webpack-encore

A simple but powerful API for processing & compiling assets built around Webpack
https://symfony.com/doc/current/frontend.html
MIT License
2.23k stars 198 forks source link

Add JSX support for Vue 3 #1295

Closed Kocal closed 3 months ago

Kocal commented 3 months ago

Close #1277, follow #553 from 5 years ago :D

Adding JSX support to Vue 3 is possible through the Babel plugin @vue/babel-plugin-jsx (https://github.com/vuejs/babel-plugin-jsx).

Here is a demo on my lab project, with Vue 3 and JSX enabled:

https://github.com/user-attachments/assets/4a28f122-a357-4586-ba60-e92f496aa523


I've also fixed the changelog's last entries