0๐
Did you installed stylus
at first before trying any CSS ?
yarn add -D stylus stylus-loader
https://vue-loader.vuejs.org/guide/pre-processors.html#stylus
As of the selector, this should be ::v-deep
indeed.
Reference for the selectors: https://stackoverflow.com/a/55368933/8816585
0๐
I solved this problem by adding
options: { styleIsolation: 'shared' }, // add this
methods: {
yourFunc1 () {
}
}
.
Config this in the components like the methods, itโs the same level like methods.
- [Vuejs]-Module not found error when adding worker-loader
- [Vuejs]-How to import localforage to service worker using importScripts?
Source:stackexchange.com