vuetify-module
vuetify-module copied to clipboard
Object literal may only specify known properties, and 'vuetify' does not exist in type 'NuxtConfig'.
Module version 1.12.3
Describe the bug
IntelliJ tells me this error in nuxt.config.ts, but Vuetify is usable.
TS2345: Argument of type '{ target: "static"; ssr: true; head: { titleTemplate: string; title: string; htmlAttrs: { lang: string; }; meta: ({ charset: string; } | { name: string; content: string; } | { hid: string; name: string; content: string; })[]; link: { ...; }[]; }; ... 6 more ...; build: { ...; }; }' is not assignable to parameter of type 'NuxtConfig'. Object literal may only specify known properties, and 'vuetify' does not exist in type 'NuxtConfig'.
To Reproduce Only if needed
Steps to reproduce the behavior:
- Open the project with IntelliJ
- Open the file
nuxt.config.ts - Scroll to
vuetify - See error
Expected behavior No error.
Screenshots

Additional context I use the Nuxt Bridge and IntelliJ
@MartinX3 Did you found any fix for that?
Yes, I changed my config to
// https://go.nuxtjs.dev/vuetify
[
'@nuxtjs/vuetify',
{
// Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
optionsPath: '~/plugins/vuetify.options.ts',
},
],