Link a theme

yarn run link <path> or npm run link <path>

Sets ScandiPWA as a Magento Theme from your specified folder.

Heads up!

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

Command options

-v, --verbose

This option will enable printing of logs from linking a theme.
1
yarn run link ./path/to/scandipwa --verbose # for Yarn
2
npm run link ./path/to/scandipwa -- --verbose # for NPM
Copied!

Usage example

1
yarn run link ./path/to/scandipwa # for Yarn
2
npm run link ./path/to/scandipwa # for NPM
Copied!
Last modified 3mo ago