I am using Sage 9, I want to put some image links to the JS file, but not sure how to link the assets to “dist” folder.
Because when we run
production that all the assets would has the version numbers, I can’t link them normally to the JS.
PHP files I use
"@asset('images/example.jpg')" has no problem at all, so someone can explain how to link assets to JS File dynamically?