Public/js folders

If I create a public/js folder manually, why it’s not working?
I declared the js file in the too, but the system is not calling the custom file script, why?

@Leonardo_Augusto are you overriding existing js eg:

if yes then there is the following way to write in hooks

  doctype_js = {
    	"Sales Order":["customize/sales_order.js"]

and if your tring third party integration then you put your js and css there following link might help you

have you created build.json file and have you run bench build?

1 Like

You have to run bench build again (to create the symlinks)