ijpatricio / mingle

Use JS components with Vue or React in a Laravel Livewire and/or Filament application
MIT License
202 stars 6 forks source link

Can we use TSX other than jsx? #15

Open arisawali2014 opened 5 days ago

arisawali2014 commented 5 days ago

Can we use TSX other than jsx? for creating components?

ijpatricio commented 3 days ago

Hello @arisawali2014 .

Yes, you can. MingleJS doesn't interfere with that. TSX config should be at Vite level.

I actually don't use TSX, so I installed a typical Laravel app with Vite + React in TSX, using the default installer. This is what it looks it's needed, find below, screenshot and contents: