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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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-extrasinto itfor example
the
cnhelper 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-utilsinsteadNow 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