Frage

I'm trying run two step below

step1:

rm -rf pub/static/* ./var/view_preprocessed/* ./var/page_cache/* ./var/cache/* ./var/generation/*

step2:

php bin/magento setup:static-content:deploy -f --theme Nature/CustomTheme

But in real process another theme like: Magento/Luma and Magento/Blank still run deploy. What should we do to deploy specific theme ?

War es hilfreich?

Lösung

Most probably, your theme is based on Luma, which means Luma will be deployed as well and since Luma is implemented on top of Blank, Blank theme is deployed also.

This is a normal behavior related to theme inheritance.

Andere Tipps

Totally agree with @Diana Botean as your Theme is based on luma and luma is based on blank so it will load luma as well as blank theme.

And It didn't whether it a window or Linux Magento have the same behavior.

If you don't want to both luma as well as the blank theme to get deploy by creating your own theme independent of other

I believe then also you might require a blank theme.

Hope this might help you.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange
scroll top