This project boilerplate is for Edge Delivery Services projects that integrate with Adobe Commerce.
Before using the boilerplate, we recommend you to go through the documentation on https://experienceleague.adobe.com/developer/commerce/storefront/ and more specifically:
- Storefront Developer Tutorial
- AEM Docs
- AEM Developer Tutorial
- The Anatomy of an AEM Project
- Web Performance
- Markup, Sections, Blocks, and Auto Blocking
Use the Site Creator Tool to quickly spin up your own copy of code and content.
Alternatively, you can follow our Guide for a more detailed walkthrough.
You may need to update one of the drop-in components, or @adobe/magento-storefront-event-collector
or @adobe/magento-storefront-events-sdk
to a new version. Besides checking the release notes for any breaking changes, ensure you also execute the postinstall
script so that the dependenices in your scripts/__dropins__
directory are updated to the latest build. This should be run immediately after you update the component, for example:
npm install @dropins/storefront-cart@2.0. # Updates the storefront-cart dependency in node_modules/
npm run postinstall # Copies scripts from node_modules into scripts/__dropins__
This is a custom script which copies files out of node_modules
and into a local directory which EDS can serve. You must manually run postinstall
due to a design choice in npm
which does not execute postinstall
after you install a specific package.
Major changes are described and documented as part of pull requests and tracked via the changelog
tag. To keep your project up to date, please follow this list:
https://github.com/hlxsites/aem-boilerplate-commerce/issues?q=label%3Achangelog+is%3Aclosed