@scandipwa/m2-theme
extension installed.@scandipwa/m2-theme
extension is bundled by default with @scandipwa/scandipwa
starting from version 2.3.5
and onward. You do not need to install this extension separately if your parent theme is set to@scandipwa/scandipwa
.BUILD_MODE
equal to magento
the behavior of the npm run start
and npm run build
will change.npm run start
or yarn start
magento/Magento_Theme
folder.npm run build
or yarn build
magento/Magento_Theme
folder.composer.json
in the theme root will be activated. The extension will make sure the composer packages specified in the scandipwa.composer
filed of your parent themes and extensions package.json
files are reflected in your theme's composer.json
. This is required when connecting to Magento 2 instances.@scandipwa/m2-theme
extension installed to your Magento 2 server.npm run build
command with BUILD_MODE
environment variable equal to magento
. You must do it from the ScandiPWA theme root.composer config repo.theme path <path to scandipwa root>
composer require <composer package name>
. The name of your composer package is defined in name
field of the composer.json
file.bin/magento cache:disable full_page
npm run start
command with BUILD_MODE
environment variable equal to magento
. You must do it from the ScandiPWA theme root.composer config repo.theme path <path to scandipwa root>
composer require <composer package name>
. The name of your composer package is defined in name
field of the composer.json
file.