#No such file or directory when using assets directory

3 messages · Page 1 of 1 (latest)

jaunty nacelle
#

Not sure what im doing wrong. Astro tells me files in the public directory are served at the root path.
Instead of /public/assets/Logo.png, use /assets/Logo.png. Please help.

charred rose
#

No need to import assets from the public folder.

const logo = "/assets/Logo.png"
jaunty nacelle
#

Thats what I have in my code, but it is not working