File Structure
Quick question for you all, is there a best practices for where to keep the assets folder in a project? I'm torn between putting it in /src or /public. Thanks!
2 Replies
If I'm remembering correctly,
/src
is the folder you put code that is to be modified and then sent to /dist
. /public
, on the other hand, is copied with no modifications.
With that being said, use /public
if there is nothing to change (fonts, images, etc) while modified files go into /src
(JS/CSS files are minified, markdown files are combined into HTML files, etc)thank you this is very helpful 🙏