rollup-plugin-vuetify icon indicating copy to clipboard operation
rollup-plugin-vuetify copied to clipboard

Hi, were you able to override vuetify variables using this plugin?

Open jpiombo opened this issue 3 years ago • 2 comments

Hi, We are trying to use this plugin but we have variable.scss overriding default values from vuetify. For some reason, we cannot make the library to use the version of vuetify with those variables overriden. Any ideas? Does this plugin support this?

jpiombo avatar Apr 28 '21 12:04 jpiombo

@jpiombo

I am also authoring a library based on 'rollup-plugin-vuetify', and took the following approach:

  • my library distributes only custom Vue single file components, based on vuetify.
  • the receiving project has Vuetify as an external dependency
  • variables.scss is distributed with the library as is, e.g. unprocessed.
  • the receiving project @import's the variables.scss, and is then compiled in the receiving project.

So variables.scss can be authored with the library, but needs to be distributed with the library, then processed in the receiving project.

nikcornish avatar Jun 30 '21 13:06 nikcornish

Hi @jpiombo, I can not find anything related in vuetify-loader which was taken as an example implementation.

Is this still an actual issue or can I close it?

vatson avatar Sep 24 '21 08:09 vatson