Question

I changed this file

app/design/frontend/VENDOR/THEME/web/mage/validation.js

But changes are not reflected; I'm in production mode

I deployed static content with

bin/magento setup:static-content:deploy -f fr_FR

cleared the cache

php bin/magento cache:flush
php bin/magento cache:clear

But changes didn't get applied. Should i change mode to developer?

Was it helpful?

Solution

Try to follow this steps(Ubuntu or Linux only) :-

sudo rm -rf pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs pub/static/deployed_version.txt var/cache var/page_cache var/generation var/view_preprocessed var/session generated/code  

sudo php bin/magento setup:upgrade  

sudo php bin/magento setup:static-content:deploy fr_FR -f 

sudo php bin/magento cache:flush
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top