Magento 2 – Page Builder

On a couple of recently Magento 2 projects, one being Commerce and one being Community, I had the pleasure of installing the Page Builder. However, installing the Page Builder took longer than it should as it’s not particularly well documented. In the end, I found the Commerce meta package and the Community one buried in the Magento Community Slack channel (It’s also included via the Commerce meta package now that I know what it’s called).

Anyway, here’s how you include it in composer and enable the modules:

Community

Add the Page Builder module via composer

composer require magento/module-page-builder

Enable the module and run the upgrade and di compile

bin/magento module:enable Magento_PageBuilder
bin/magento setup:upgrade
bin/magento setup:di:compile

Commerce

Add the Page Builder module via composer

Add the Page Builder meta package via composer

composer require magento/page-builder-commerce

Enable the modules

./bin/magento module:enable Magento_PageBuilder \
Magento_PageBuilderAnalytics \
Magento_CatalogPageBuilderAnalyticsStaging \
Magento_CatalogPageBuilderAnalytics \
Magento_CmsPageBuilderAnalytics \
Magento_CmsPageBuilderAnalyticsStaging \
Magento_StagingPageBuilder \
Magento_Banner \
Magento_BannerPageBuilder \
Magento_BannerPageBuilderAnalytics \
Magento_BannerCustomerSegment \
Magento_AdvancedRule \
Magento_CustomerSegment \
Magento_CatalogStagingPageBuilder

Run upgrade and di compile

bin/magento module:enable Magento_PageBuilder
bin/magento setup:upgrade
bin/magento setup:di:compile

0 comment

    No comments found
Leave a comment