JSX is very popular in the React community. In Vue, you don't have to use JSX to build templates for your components; you can use the much more familiar HTML. JSX, however, is the next best thing you can do if you are forced to write a lot of render functions.
Using JSX to render a component
Getting ready
Before venturing into this recipe, you better play a little with the render function. The previous recipes provide some exercises.
How to do it...
JSX needs a Babel plugin to work. For this recipe, I will assume that you are working within the webpack template.
To install the babel plugin, you can run the...