Environment:
– Magento 2.3
– Mode: Developer
– Cache: Disabled
– empty: pub/static, except .htaccess
– empty: var/cache, var/composer_home, var/page_cache, var/view_preprocessed
From there it is my understanding that if you reach the website through a browser, considering there are no static files ready to use yet, then Magento will either copy (production mode) or symlink (developer mode) the required css/js to pub/static folder for the theme used (as well as parent themes for the required files), so that the website can load properly and accordingly.
But what happens instead in developer mode, it creates a single file:
pub/static/frontend/Vendor/theme_name/en_US/requirejs-config.js
Any idea why the symlinks are not generated and what’s happening, why this single file requirejs-config.js is generated?
PS: we do not want to deploy static content.
3
Answers
In command line :
Clear your navigator’s cache and try to reload your page.
If it still doesn’t work :
Clear your navigator’s cache and try to reload your page again.
Hope it’s help.
try this
php bin/magento setup:static-content:deploy -f en_US yourlang_YourLang
You can try this command
bin/magento dev:source-theme:deploy
instead ofbin/magento setup:static-content:deploy -f