I am not sure if this is a stupid question. I declare lots of types but when I try to export them in index.ts. v0 preview told me that it cannot find the files. If I comment out "export * from "./common";", then The file "./product" cannot be found. I tried:
- Download them and run in VScode. No error.
- try to use @/types/common as absolute path. Still not Found in v0, cannot preview. No error in Local and building.
- The tsconfig.json in Download project clearly defines "baseUrl": ".", "paths": { "@/": ["./"] }
- components.json in components.json clearly defines : "aliases": { "types": "@/types", "services": "@/services", "components": "@/components", "utils": "@/lib/utils", "ui": "@/components/ui", "lib": "@/lib", "hooks": "@/hooks" },


Next.js. It works well on Local, Production without any error.