Rendering a simple component manually

Vue turns your HTML templates into render functions. Usually, you should stick to templates because they are much simpler. There are a couple of cases in which render functions become in handy. Here, we show a simple example in which render functions are useful.

Get Vue.js 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.