Open mirabledictu opened 2 years ago
It's not easy to understand.
But I think we should use @nuxt/types
since Nuxt 2.9.0+ and remove @nuxt/vue-app
.
I think the documentation of this plugin is just too old.
That's the right way:
"types": [
"@types/node",
"@nuxt/types",
"@nuxtjs/vuetify"
]
I also found this https://github.com/nuxt/nuxt.js/blob/dev/packages/vue-app/index.d.ts
Hello, what is the difference between
@nuxt/types
and@nuxt/vue-app
?When generating a fresh Nuxt TypeScript app, you'll get
@nuxt/types
in thetypes
property oftsconfig.json
already. But in theREADME
ofvuetify-module
, you have this:Are they different?