If you are using your own magento site, make sure it's:
- Magento 2.4.* or >= 2.3.5
- Got Mageplaza Shopbybrand and ShopbybrandGraphQl installed
npm init @magento/[email protected]
Fill in with your project information and cd into it.
From the root directory of the project you created above, clone the repository:
git clone https://github.com/Simicart/shopbybrand-module-pwa-studio ./@simicart/shopbybrand
Change the .env MAGENTO_BACKEND_URL with your magento site URL, or use our demo URL:
MAGENTO_BACKEND_URL=https://mp.pwa-commerce.com/
Modify the dependencies of project to add shopbybrand extension.
"dependencies": {
"@magento/pwa-buildpack": "~7.0.0",
"@simicart/shopbybrand": "link:./@simicart/shopbybrand"
},
yarn install && yarn watch