UNPKG

vue-cli-plugin-tsx-support

Version:
38 lines (23 loc) 787 B
# vue-cli-plugin-tsx-support ## :sparkles: Features - Better TSX support via [vue-tsx-support](https://github.com/wonderful-panda/vue-tsx-support) - Enable TSX hot reload via [vue-jsx-hot-reload](https://github.com/skyrpex/vue-jsx-hot-loader) ## :wrench: Setup 1. :warning: Make sure you have vue-cli 3.x.x: ```bash vue --version ``` 2. Create a Vue project and be sure to select **Babel** & **Typescript** options, duh :sweat_smile: ```bash vue create my-tsx-app ``` 3. Add the plugin: ```bash cd my-tsx-app vue add tsx-support ``` Now you can start creating vue component using typescript in `.tsx` files. ## :pray: Credits Thanks to [@wonderful-panda](https://github.com/wonderful-panda) and [@skyrpex](https://github.com/skyrpex) for their amazing work. ## LICENSE MIT