Before you start:
Install Create Scandi App
Make sure you have a Scandi theme to use
Make sure you have a Create Magento App set up
Linking your theme:
Link your app using
Compile your app in Magento mode
Enable the theme in the admin panel
Before you link a theme, make sure you have installed Create ScandiPWA App. Use this guide for installing it.
To link a ScandiPWA theme to your Create Magento App project you can use command link:
npm run link -- ./path/to/your/scandipwa-app# or with yarnyarn run link ./path/to/your/scandipwa-app
Create Magento App will link your ScandiPWA theme from your selected path as a symbolic link and will disable Full Page cache.
This is necessary for proper hard-reload when developing Magento Theme.
Run the command below from your ScandiPWA App directory (
BUILD_MODE=magento npm run start # Mac, Linuxset BUILD_MODE=magento && npm run start & set BUILD_MODE= # Windows
This command will now watch the files and put their compiled versions into the
After you linked theme to your Create Magento App instance you need to activate it.
Go to your Magento Admin panel (by default it can be accessed on
/admin url), Content > Configuration, choose a website that you want to apply theme on, click Edit and select your theme, click Save and that is it.
Open your store URL and theme should be online.