2

My styles are not working with bin/magento setup:static-content:deploy. It is working only after running grunt commands. Due to this my code is not working in server. we are using Magento 2.3.5-p2.

2
  • 1
    Are you set to compile the css on the client side or server side?
    – web master
    Oct 20, 2020 at 13:58
  • it's server side.
    – Ramyasri
    Oct 20, 2020 at 15:30

1 Answer 1

0

Please disable symlinks from the backend whose steps are given below.

Admin -> Stores -> Configuration -> Advanced -> Developer -> Template Settings -> Allow Symlinks -> No -> Save Config.

After set No on admin. please run below commands succesfully after completed all command. check with hard refresh on browser.

php bin/magento setup:upgrade
php bin/magento s:s:d -f
php bin/magento c:f

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.