Issue:
While building some personal site, I found that vuetify, that works perfectly on local, stops working properly on the extension panels it provides. Maybe some dependency conflict while uploading to netlify.
During the Netlify build logs, I noticed multiple warnings about unmet peer dependencies such as:
warning “@nuxtjs/composition-api@0.33.1” has unmet peer dependency “@nuxt/vue-app@^2.15”
warning “vuetify@3.3.11” has unmet peer dependency “vue@^3.0.0”
Even though everything looked fine locally, the deployed site had broken Vuetify behavior.
After some digging, I realized the issue was caused by using packages that belong to Nuxt 2 in a Nuxt 3 project.
In particular:
@nuxtjs/composition-api is for Nuxt 2, not Nuxt 3.
vue-meta is also for Vue 2/Nuxt 2, while Nuxt 3 now uses @vueuse/head internally.
These legacy dependencies cause version conflicts in the build process, especially in clean installs (like Netlify CI), even if it appears fine on local.