Getting ready

This recipe assumes that you already know how to register a component (the Creating and register a component recipe). We will also use npm and vue-cli (the Choosing a development environment recipe).

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.