December 2016
Beginner to intermediate
334 pages
6h 25m
English
In this chapter, you learned about Vue components and how to use them. You saw how to create and register them using a classic approach (application that uses HTML, CSS, and JavaScript) and you also saw how easy it is to create and manipulate them using a single-file components approach. Things to retain:
MyBeautifulComponent -> my-beautiful-componentdata and el inside the component must be functions and not objects:
{data: function () {}}
scoped attribute to it: <style scoped></style> ...Read now
Unlock full access