
Learning Vue.js 2
By :

Now that we already know a lot about components, let's rewrite our shopping list application using them.
For the rewriting of the application, we will use this version of the shopping list application as a base: https://jsfiddle.net/chudaol/vxfkxjzk/3/ .
We have already done it previously, when we started talking about components. But at that time, we used string templates inside the components' options. Let's do it now using templates as we have just learned to do. Let's just have a look at the interface and identify the components again:
Our shopping list application will have four components
Thus, I suggest that our shopping list application consists of the following four components:
AddItemComponent
: The component responsible for adding a new item to the shopping listItemComponent
: The component responsible for the rendering of the new item in the shopping listItemsComponent
: The component responsible for rendering...