#Help with astro:assets

3 messages · Page 1 of 1 (latest)

visual gulch
#

I also tried a number of ways to reference my image paths including setting up an alias for assets

#

It looks like this is the correct path: ../assets/images/ocean-0.jpeg because I can see the image rendered to the page right before I get the startsWith error.

#

Taking a step back, if I just reference an image from the assets directory, import myImage from "../assets/images/ocean-0.jpeg"; it works