Replies: 1 comment 2 replies
-
jsrepo actually uses shadcn-svelte-extras for the docs. You can see how I do it there. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem:
Currently I find it kinda hard balance out my own blocks in a project while also importing shadcn-svelte and something like your
github/ieedan/shadcn-svelte-extras
into itfor example
the
cn
helper function for tailwind class spam,having it in "utils.ts" by shadcn-svelte , it is way too generic, so I used shadcn's alias property to move into
tw-utils
insteadNow adding some components from your repo, it now wants to add another cn helper since it searches for the utils.ts in the same folder
Idea:
maybe let the paths be also used as alias like
or maybe a custom folder per source repo, that way its also easier to pick which files in folder X belong to shadcn, some other repo, my own repo and so on
Maybe there is even a better solution I didn't think of yet
Beta Was this translation helpful? Give feedback.
All reactions