Tiger Nut
how to add a something to .nuxt/tsconfig.server.ts ?
Hello,
If you need to add something to the auto generated file: ./.nuxt/tsconfig.ts you can do so by adding something like this to ./nuxt.config.ts
typescript: {
tsConfig: {
compilerOptions: {
paths: {
"@/data-schema": ["../../be/amplify/data/resource"],
},
},
},
},
It is documented here https://nuxt.com/docs/api/nuxt-config#tsconfig and works perfectly.
But how would you do this for ./.nuxt/tsconfig.server.ts ?
Thanks 🙂15 replies