October 2019
Intermediate to advanced
108 pages
2h 24m
English
One of the most powerful parts of Vue is its capability to make components.
Components are reusable bits of code that usually include a template, scripts, and styles. The amazing thing about components is that you can box up all the logic for a specific element, or group of elements, into a single unit.
A good way to start thinking in terms of components is to start breaking down everyday objects into simple, smaller pieces. (In your mind please!)
Take, for example, the computer that you are working on. As a whole, the whole system could be called a computer. Now break it down even more—it has a monitor, a keyboard, and cables. Now take the keyboard and break it down. You now have a container, and this container ...
Read now
Unlock full access