@swissup/pwa-easycatalogimg
v12.4.0
Published
Easy catalog images
Downloads
4
Readme
pwa-easycatalogimg
This package it's pwa-studio integration with original Magento 2 extension
Magento PWA Studio Setup
Install module
yarn add @swissup/pwa-easycatalogimg
With github access
yarn add ssh://[email protected]:swissup/pwa-easycatalogimg.git
For developers
mkdir -p pwa-studio-custom-packages/swissup
cd pwa-studio-custom-packages/swissup
git clone [email protected]:swissup/pwa-easycatalogimg.git
cd pwa-easycatalogimg
pwd
# goto pwa project root dir
cd ../../../pwa-studio-fundamentals
yarn add --dev file:[some path]/pwa-studio-custom-packages/swissup/pwa-easycatalogimg
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"
]
}
}