0
This is just a problem with overriding styles in general, not Vue.js
I recommend adding a class to the button within the Vue component, and applying styles to that. Normalize and your base styles will be just that – base styles. Then your in-component styles can override what they need to.
If you’re worried about conflicting class names between components simply add scoped
in your <style>
tag.
- [Vuejs]-Vuejs how to increase the ratings of each game with a click on the span?
- [Vuejs]-Vue data passed from parent to child not accessing
Source:stackexchange.com