vuejs/jsx-vue2

Support for conditional directives. v-if, v-else, v-else-if

vvolfster opened this issue · 1 comments

Is there any way we can add support for these directives? It would make writing jsx a lot nicer and look a lot cleaner.

In react, I found this plugin that made writing jsx/tsx nicer for me. Is there something we could do for this library to support that? https://github.com/peakchen90/babel-plugin-react-directives