Question

Has anyone tried to generate static sass files without gulp? I want to do the same as when I execute the following commands...

  • gulp deploy --theme Namespace/Theme
  • gulp sass --theme Namespace/Theme

Also, I've tried with...

  • cd pub/static && find . -depth -name .htaccess -prune -o -delete
  • rm -rf var/cache/ var/generation/* var/page_cache/* var/view_preprocessed/*
  • bin/magento setup:static-content:deploy -f

... but my css and js files are not generated.

Greetings

Was it helpful?

Solution

Magento 2 does not come with Sass support out the box, for it to work with static-content-deploy you would need to add your own adapter. Instructions for that can be found on the official dev docs here

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top