Closed marcpaskell closed 4 years ago
@marcpaskell Please directly provide a repository with the reproduction
Sure - I've put something quick together here: https://github.com/marcpaskell/nuxt-vuetify-pro-dashboard
If you look at nuxt.config.js you'll see the various approaches to importing overrides.sass
The style we're looking to be applied is simple <td>
padding styling.
@marcpaskell This is not something that is achievable AFAIK, unless using !important
or using /deep/
selector : https://vuedose.tips/tips/style-inner-elements-in-scoped-css-using-deep-selector-in-vue-js
And if it would be achievable with some workaround, it's out of scope of Nuxt module and you should consider opening an issue on Vuetify repo (or ask for help around their Discord). Thanks for your understanding.
Module version Nuxt.js@2.10.2 @nuxtjs/vuetify@1.9.0
Describe the bug Importing the override.sass styles from the pro dashboard theme are either not applied or duplicated in every component
To Reproduce standard Nuxt install using npx create-nuxt-app
select vuetify
copy over dashboard files, including the sass directory
add various versions of style imports using:
css: ['@/sass/overrides.sass']
//styles are there but not appliedstyleResources: {sass: ['./sass/overrides.sass']}
//styles are there but duplicatedI also tried putting into
customVariables
in the Vuetify config... styles are duplicatedExpected behavior Just need somewhere to import the overrides.sass file and the styles to be applied. This did work using vanilla Vue app by importing into main.js
import './sass/overrides.sass';