Encapsulate stylus css
Versions and Environment
Vuetify: 1.5.16 Vue: 2.6.10 Browsers: Chrome 75.0.3770.100 OS: Windows 10
Steps to reproduce
trying to encapsulate the styles with into custom class where .app @import './../../node_modules/vuetify/src/stylus/app.styl'
is used, different paths (relative, ~, etc.) and files (main.styl) used, but this will result into an error variables not being found.
One way to get this to work is by: app = @block { @import './../../node_modules/vuetify/src/stylus/app.styl' } .app {app}
however when using blocks i am missing some classes such as elevations.
Expected Behavior
Encapsulate the imported style under class name.
Actual Behavior
Stylus
Reproduction Link
+1, same here
Your reproduction link doesn't work. Also, anything involving this would have to be implemented in v2.0 with sass/scss.
duplicate of #5041