I want to show all images in a folder, like:
<script> let list = /*array of all files in a folder*/;</script>{#each list as l}<img src={(path_of_l)} alt=""/>{/each}
How can I get that 'list' and paths of its elements?
I want to show all images in a folder, like:
<script> let list = /*array of all files in a folder*/;</script>{#each list as l}<img src={(path_of_l)} alt=""/>{/each}
How can I get that 'list' and paths of its elements?