onwidget / qwind

⭕️ Qwind: A template to make your website using Qwik + Tailwind CSS.
https://qwind.pages.dev
MIT License
251 stars 68 forks source link

[vite]: Rollup failed to resolve import - Trying to use images that are in /public/images/image.png #12

Open Junkboy1 opened 1 year ago

Junkboy1 commented 1 year ago

Hello Im Trying to use images that are in /public/images/image.png I do the import as

import logoSrcDark from "/images/LogoOpthormDark.png";

Then I get this failure:

image

I tryed a lot.. even ./images ../images just /images or just /image.png etc.. Nothing works..

Same for scripts in root.tsx I set some Githubissues.

  • Githubissues is a development platform for aggregating issues.