Getting ready

I suggest you to go on and complete the Using components in your own components recipe as it explains the important concept of scope. We will cover that here also, but "repetita iuvant".

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.