I am attempting to implement SASS Variables in Vue 3, Vuetify 3, Vite build and am encountering an error about variables not being declared with !default
I followed the instructions in the Vuetify 3 documentations for setting up SASS Variables and am attempting to put in a variable override for the expansion panel active title height
// src/styles/settings.scss
@use 'vuetify/styles' with (
$expansion-panel-active-title-min-height: 48px
)
// vite.config.ts
...
plugins: [
vue(),
vuetify({
styles: { configFile: "src/styles/settings.scss" }
})
]
I had initially tried using @use 'vuetify/settings'
with those settings, but this resulted in no change. But if I keep this in, the build fails with Error: This variable was not declared with !default in the @used module
Any help for what I'm doing wrong would be appreciated, I'm not sure if I'm missing something or if just misreading the documents