serve the static html files in magento 2 code example Example: magento 2 static content deploy php bin/magento setup:static-content:deploy -f