Magento 2.3.5 CSS and Js not loading
- By smartz
- 13 May 2020
- Magento 2
- Magento Development
Here is the simplest solution if showing version name in css path
like : pub/static/version323334/
then run this query in mysql
INSERT INTO core_config_data (path, value) VALUES (‘dev/static/sign’, 0)
ON DUPLICATE KEY UPDATE value = 0;
after that clear the config cache
bin/magento cache:clean config
Second solution
Run query in database : INSERT INTO core_config_data (scope, scope_id, path, value) VALUES (‘default’, 0, ‘dev/static/sign’, ‘0’);
Third Solutions
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
