Using with Tauri #1636
Unanswered
Fighter178
asked this question in
Help
Replies: 1 comment
-
I think this is actually a duplicate of #1474, or at least has the same error. I just never had this error before and was the first time trying to use shadcn-svelte with Tauri so I assumed Tauri was the problem, which it likely could be. This comment shows a similar issue to mine. Oh, and I know my tsconfig is not correct |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use shadcn-svelte with Tauri (2.0) and Svelte. When trying to use the CLI, even after a manual installation, I get this error:
Here's my components.json:
I did have to make it manually because of the
init
command not accepting$lib/components
as a valid path alias.And tsconfig.json:
I read the comment that was there originally but it doesn't seem to work with the CLI.
And, the docs also say path aliases need changing vite.config.js so here's that:
Beta Was this translation helpful? Give feedback.
All reactions