Svelte imports not working
Not even really sure whats going wrong Ive spent hours on this issue. For some reason when importing either ui elements or libraries with svelte no matter what I do its giving me issues. Examples would be:
Cannot load file './index' from module 'bits-ui'
Failed to resolve '$lib/components/ui/card' from './src/contents/FloatingPanel.svelte'
Failed to resolve 'bits-ui' from './src/lib/components/ui/button/button.svelte'
VS code doesn't give me any errors in fact when I highlight over it it shows me the correct filepath. Along with that if I run pnpx svelte-check I get "svelte-check found 0 errors and 0 warnings."
Here is some relevent files:
2 Replies
tsconfig.json
Components.json
svelte.config.mjs (I am trying to just use regular svelete not svelte kit. Do I need this?)
Update like 3 hours later still got it working sort of still issues
does anyone have any experince using Plasmo with svelte shadcn UI
Thinking about just dropping svelte and going back to react
@Hex has reached level 1. GG!