Link a theme

Sets ScandiPWA as a Magento Theme from your specified folder.

Heads up!

Please follow this guide for linking ScandiPWA theme to your Magento App.

Since magento-scripts version 2 to link a theme it must be located within Magento project!

Command options

-v, --verbose

Since magento-scripts@1.9.0

This option will enable printing of logs from linking a theme.

yarn run link ./path/to/scandipwa --verbose # for Yarn
npm run link ./path/to/scandipwa -- --verbose # for NPM

Usage example

yarn run link ./path/to/scandipwa # for Yarn
npm run link ./path/to/scandipwa # for NPM

Last updated