vuetifyjs / nuxt-module

Zero-config Nuxt Module for Vuetify
https://nuxt.vuetifyjs.com/
MIT License
219 stars 22 forks source link

add support for theme configuration #43

Closed leo91000 closed 1 year ago

leo91000 commented 1 year ago

After reading the file /src/vite/vuetify-configuration-plugin.ts I didn't see some kind of support for theme configuration at plugin level.

Is it something that is doable ?

Is there a better opiniated way to do it (e.g useTheme()) ?

Thanks !

userquin commented 1 year ago

@leo91000 add the theme to vuetifyOptions in the module or add a nuxt plugin adding vuetify:configuration hook (in the hook destructure the vuetifyOptions and configure the theme).

userquin commented 1 year ago

@leo91000 what's the issue?