To merge and minify JavaScript and CSS files on Magento 2, follow these steps:
Log in to Magento using your administrator account.
Log in to Magento using your administrator account.
- On the left sidebar, click STORES, and then under Settings, click Configuration.
- Cilck ADVANCED, and then click Developer.
- Click JavaScript Settings, and then in the Merge JavaScript Files list box, select Yes.
- In the Minify JavaScript Files list box, select Yes.
- Click CSS Settings, and then in the Merge CSS Files list box, select Yes.
- In the Minify CSS Files list box, select Yes.
- Click Save Config.
No comments:
Post a Comment