I currently have a Vue component that I use in one part of my application. I want to use this same component in another part of my application; however, I would like to make some minor changes to the CSS (change background colors etc.).
The easy but repetitive method would be to simply copy and paste the component into a new .vue file and make the respective CSS changes; however, is there a better way of achieving this effect?
Ideally, I want to be able to create a new Vue component, which imports the entire template as well as methods, props etc. I've looked into using extends; however, it doesn't import the Vue template - just the functionality.