0

I have just installed Magento 2.3. Now when I fire it up, the CSS and JS is not loading.

I looked at the source and it always has the version of the deployment in the path, like

/pub/static/version1484648587/frontend/... . This does not exist though, I only have /pub/static/frontend. even with command line bin/magento setup:static-content:deploy -f, path indicated is not correct.

please help

1
  • Please see this solution: click here Hope this will help you! Thanks. Commented Jul 10, 2019 at 12:45

1 Answer 1

0

The path /pub/static/version1484648587/frontend/ is only a virtual path which would only visible on browser

The path /pub/static/frontend is the actual path which is created after your deployment script.

This is not an issue or bug, when browser calls any js or css from static version path then the file calls from /pub/static/frontend/.. path, you don't need to worry about this.

Check documentation for details: https://devdocs.magento.com/guides/v2.3/config-guide/cache/static-content-signing.html

1
  • These are valid comments, however this does not help the OP main issue which is CSS and JS not loading Commented Aug 15, 2019 at 1:27

Your Answer

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

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