@swissup/pwa-easy-banner
v12.4.0
Published
Easy banner integration into venia-ui
Downloads
14
Readme
pwa-easy-banner
This package it's pwa-studio integration with original Magento 2 extension
Magento PWA Studio Setup
Install module
yarn add @swissup/pwa-easy-banner
With github access
yarn add ssh://[email protected]:swissup/pwa-easy-banner.git
For developers
mkdir -p pwa-studio-custom-packages/swissup
cd pwa-studio-custom-packages/swissup
git clone [email protected]:swissup/pwa-easy-banner.git
cd pwa-easy-banner
pwd
# goto pwa project root dir
cd ../../../pwa-studio-fundamentals
yarn add --dev file:[some path]/pwa-studio-custom-packages/swissup/pwa-easy-banner
yarn run watch
Add @swissup to trusted vendors
- In your pwa-studio project root open package.json
- Find "pwa-studio" section
- Add "trusted-vendors" section if not exist
- Add "@swissup" vendor to "trusted-vendors"
{
...
"pwa-studio": {
"targets": {
"intercept": "./local-intercept.js"
},
"trusted-vendors": [
"@swissup"
]
}
}