Hi there ! My name is Coros Cristian, I'm a successful web developer from Cluj Napoca, Romania, and I'm here to share my story and help you see things in a different and better way. Enjoy !
Magento 2 Development
Adding a custom js file in magento 2 is a little different than it was before in the old version of magento (1.x). Doing it via XML is NO MORE the best practice, so let’s try to do it in the recommended way, using requireJS: