If you have components in your Vue app that share similar options - or even template markup - then you might consider extending your components.
In this week’s article, I show you how to use built-in Vue features and a bit of your own ingenuity to implement component inheritance with Vue.js.
Do you have components in your Vue.js app that share similar options, or even template markup? In this article, I’ll show you a design pattern for extending Vue components that’ll help keep your code DRY.
Declaring props repeatedly can be so boring that it hurts. If your project supports ES6, check out this neat little trick to keep your props super DRY. It’ll save you time and retain your mental sanity.