Skip to Content
Front-End Development Projects with Vue.js
book

Front-End Development Projects with Vue.js

by Raymond Camden, Hugo Di Francesco, Clifford Gurney, Philip Kirkbride, Maya Shavin, Dániel Szabó
November 2020
Beginner to intermediate
774 pages
11h 58m
English
Packt Publishing
Content preview from Front-End Development Projects with Vue.js

5. Global Component Composition

Overview

In this chapter, you will learn how to reduce duplication in your Vue.js application code using global abstractions, new composition models, and new types of components. You will experiment with Vue.js mixins, plugins, and new types of components and ways of composing them.

By the end of this chapter, you will be able to identify situations where mixins and plugins can be used to achieve global composition and keep code DRY (don't repeat yourself) in a Vue.js application, as well as how to define global components, functional components, and components in non-Vue files. You will also be able to contrast the advantages and drawbacks of global composition and select the right abstraction to maximize ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js

Building Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js

Carlos Rojas

Publisher Resources

ISBN: 9781838984823Supplemental Content