December 2016
Beginner to intermediate
334 pages
6h 25m
English
There are some things that we need to learn before going deep into the components and rewrite our applications using them. In this section, we will cover things such as handling data and el properties inside a component, component templates, scope, and preprocessors.
In our previous example, we created a Vue component with a template written as a string. It's actually easy and nice because we have everything we need inside our component. Now imagine our component with a more complex HTML structure. Writing a complex HTML string template is error-prone, ugly, and against best practices.
By best practices, I mean clean and maintainable code. Complex HTML written as a string is anything but ...
Read now
Unlock full access