vue-cli-plugin-tsx-support
✨ Features
- Better TSX support via vue-tsx-support
- Enable TSX hot reload via vue-jsx-hot-reload
🔧 Setup
- ⚠️ Make sure you have vue-cli 3.x.x:
vue --version
- Create a Vue project and be sure to select Babel & Typescript options, duh 😅
vue create my-tsx-app
- Add the plugin:
cd my-tsx-appvue add tsx-support
Now you can start creating vue component using typescript in .tsx
files.
🙏 Credits
Thanks to @wonderful-panda and @skyrpex for their amazing work.
LICENSE
MIT