Linking a Scandi Theme
Last updated
Was this helpful?
Last updated
Was this helpful?
Before you start:
Linking your theme:
Before you link a theme, make sure you have installed Create ScandiPWA App. Use for installing it.
Your theme must be located inside of your Magento project!
To link a ScandiPWA theme to your Create Magento App project you can use the command :
Create Magento App will link your ScandiPWA theme from your selected path as a symbolic link.
Run the command below from your ScandiPWA App directory (./path/to/my/scandipwa-app
)
This command will now watch the files and put their compiled versions into the magento/Magento_Theme
folder.
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.
Instead of starting your Create ScandiPWA App project, you can also use npm run build
. Learn more .