shadcn-ui-snippets icon indicating copy to clipboard operation
shadcn-ui-snippets copied to clipboard

Read components.json

Open titouancreach opened this issue 10 months ago • 1 comments

I think it would could be handy to replace the url (for cni-[xxx]) to the "$alisases.components" in components.json and then fallback to "@/components/ui" if not defined or if any error. For example, in my projects, I use "~" instead of "@" and this is the default in many generator (ex: t3 stack)

Thanks for reading 👍

titouancreach avatar Apr 22 '24 10:04 titouancreach