I am new to using Nuxt and Vue, and I am attempting to switch the color theme from dark to light. The project was created using Nuxt CLI, and these are the versions I am using:
"dependencies": {
"core-js": "^3.8.3",
"nuxt": "^2.14.12",
"vuetify": "^2.4.4"
}
"devDependencies": {
"@nuxtjs/vuetify": "^1.11.3"
}
I am following this guide to learn how to change the theme: https://vuetifyjs.com/en/features/theme/
However, when I attempt to modify the colors or theme, nothing seems to be happening. I have tried passing the light or dark props, but it still doesn't work.
<v-app dark>...</v-app>
plugins/vuetify.js
import Vue from "vue";
import Vuetify from "vuetify/lib";
Vue.use(Vuetify);
export default new Vuetify({
theme: {
themes: {
light: {
primary: "#00bcd4",
secondary: "#8bc34a",
accent: "#3f51b5",
error: "#e91e63",
warning: "#ffeb3b",
info: "#2196f3",
success: "#4caf50"
}
}
}
});