A
A
Alexander Gamov2017-09-01 17:28:33
Vue.js
Alexander Gamov, 2017-09-01 17:28:33

Why are the styles in the component being ignored?

When specifying styles that already exist in another component, they are ignored, although logically they should be overridden. This happens if you set scoped styles.
Tried to set through a unique class, did not help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Gamov, 2017-09-01
@slowdream

The answer is found in the documentation.
in my case, you need to write / deep / before each nested class and everything will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question