t3-turbo import alias in packages

Hi all, I want to install shadcn Ui in the tailwind-config package as I have multiple nextjs apps that need to share the design system. ShadcnUI uses import aliases to help reduce complexity, such as importing the CN function from lib/utils. Typescript is very happy with the imports in the package but when I try to import a component e.g button into one of the next apps it then complains that it can't find "@/lib/utils". Is there some rule that imported packages can't have import aliases?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server