Level 75
Or make a separate custom.js compile. Either way should work for you.
Hi,
I have javascript files that are only required on some pages, if there are included in other pages then they cause console errors.
Should I include these files in app.js for compiling assets with Laravel Mix or just put the in public/js manually and include them in my blade templates where required?
Please or to participate in this conversation.