how to add files to my website
Unanswered
Chum salmon posted this in #help-forum
Chum salmonOP
I am a noob when it comes to hosting images outside the public folder so I was just wondering what I should do. I need to host images, videos and audio files both publicly and privately on production.
If anyone could recommend a method or resource I would appreciate that immensely.
If anyone could recommend a method or resource I would appreciate that immensely.
1 Reply
Cane Paratore
you can create a folder outside the public/ dir and you can import the images like:
import Img from '@/images/img-1.png';
<Image src={Img}.../>