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

Savan Patel
  • 2,348
  • 1
  • 16
  • 39

1 Answers1

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

Shoaib Munir
  • 9,404
  • 10
  • 49
  • 106