0

I've cleared the the static and cache folders as recommended here -

Magento2: Re generate css file in pub/static folder

But now backend and my theme folder are missing from static, so I'm getting lots of missing files?

php bin/magento setup:static-content:deploy

doesn't help?

colouredFunk
  • 171
  • 1
  • 2
  • 5

2 Answers2

0

I also deleted the .htaccess file in the static folder. Added that back in static folder and it started again - everything started to work :)

Reference - https://community.magento.com/t5/Theming-Layout-Design-Questions/Static-files-for-custom-theme-not-being-generated/td-p/39563

Mohit Kumar Arora
  • 9,951
  • 7
  • 27
  • 55
colouredFunk
  • 171
  • 1
  • 2
  • 5
0

Go to Admin Section Cache Management click Flush Static File Cache and run

bin/magento setup:static-content:deploy

command your theme Folder Re Generate your theme folder in Pub Static.

Nikul
  • 1,306
  • 4
  • 17
  • 26