-
Notifications
You must be signed in to change notification settings - Fork 4
Description
after generating static files with command php bin/magento setup:static-content:deploy file /PayU_PaymentGateway/css/payu.css is not created.
After loading the page in the browser, an error appears:
Refused to apply style from 'https://xxx.com/static/version1647765571/frontend/Sm/market/pl_PL/PayU_PaymentGateway/css/payu.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
The payu.css file at the specified path does not exist. Cleaning cache files and reinstalling does not help. In the attached screenshot you can see that the css styles are missing
My Magento wer. 2.4.2
Attempting to fix the error:
a file was created in /var/www/html/vendor/payu/magento24-payment-gateway/view/frontend/web/css/payu.css with content from https://github.com/PayU-EMEA/plugin_magento_24/blob/master/view/base/web/css/payu.css and run php bin/magento setup:static-content:deploy
