Sometimes you just want to use jQuery directly in your phtml file. However, since Magento 2 now uses requirejs, we can no longer simply call jQuery globally. The following snippet shows you how this works.
In Magento2 it is sometimes necessary to have several configuration entries which you want to set differently in your staging or development environment than in LIVE. You can solve the whole thing via the file app/etc/env.php. Fill in your Config here first of all, what you need. I’ve listed what this might look like. In […]