Putting images from resources/assets/images to dist/images

Hello i was going to put image in html <img src="@asset(‘images/logo.png’)" but it keeps pointing to dist folder, how can i transfer whole folder of images in resources/assets/images to dist/images folder, i’m using sage 9 with bootstrap newest one

This is done as part of the yarn build process.

1 Like

Yep… just figured that out…with npm run build:production…

npm run build is the command for Sage 8. Sage 9’s preferred method is to use yarn.

Make sure you’re referencing the Sage 9 README and Sage 9 documentation when building with Sage 9.