reference images in public directory svelte code example
Example: how to use local static images in svelte
// put them in the public folder
// access like
// public/assets/bg.png
<img src="assets/bg.png" />
// put them in the public folder
// access like
// public/assets/bg.png
<img src="assets/bg.png" />