Replies: 2 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Not sure yet exactly what the issue is, but it seems to work if I change this: import { cn } from '@/lib/utils' to this: import { cn } from '@/lib/utils.ts' This is a workaround, I'll need to investigate further to find a proper fix. I suspect the problem is with the |
Beta Was this translation helpful? Give feedback.
6 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.
-
When running the playground and importing a component such as
Button
, I get the following error:Pre-transform error: Failed to load url /src/lib/utils
. My project is structured as can be seen below.I figure it is related to the fact that
shadcn-vue
also uses@
for importing components, but I am not sure. I have added the vite configs from both projects for reference. If any further info is required for solving this problem please let me know.vite.config.mts.core.txt
vite.config.mts.playground.txt
Beta Was this translation helpful? Give feedback.
All reactions