Tiger Nut
Tiger Nut
NNuxt
Created by Tiger Nut on 10/23/2024 in #❓・help
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