I have some troubles to define theme settings with the new vuetify 3.
Documentation example (for Vuetify3):
// src/plugins/vuetify.js
import { createApp } from 'vue'
import { createVuetify } from 'vuetify'
export default createVuetify({
theme: {
defaultTheme: 'myCustomTheme',
themes: {
myCustomTheme: {
dark: false,
colors: {
..., // We have omitted the standard color properties here to emphasize the custom one that we've added
green: '#00ff00'
}
}
}
}
})
I did exactly the same (of course removing ..., in colors), but got an error in chrome console:
Uncaught TypeError: Cannot convert undefined or null to object
Anyone know why this is happens? (I know that it is a new version and the documentation is still under development).
Thanks!