Showing results for 
Search instead for 
Did you mean: 

Custom Js in product view

Custom Js in product view



I want to know the correct form to include custom js to the product view.

I don't understand when to use, data-mage-init and when to use stript tag.

I tried to use the script tag, but i don't see nothing in my front. i flollowed this steps:


But nothing


I appreciate any help.