Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 5.27 KB

README.md

File metadata and controls

58 lines (32 loc) · 5.27 KB

Page Builder Examples

This repo is a collection of Page Builder content type modules created to teach you how Page Builder content types work. The modules will help you learn by example, and teach you best practices for developing custom Page Builder modules.

NOTE: The code examples included in this repository are only compatible with Magento 2.3.1 with Page Builder 1.0.0 installed.

Example Modules

The Page Builder team members created these modules to serve as examples for learning. They are not fully tested or guaranteed to work perfectly. However, we will do our best to improve these examples and keep them updated with the latest releases of Page Builder.

Modules Installation

Assuming you have Page Builder 1.0.* already installed and activated, you can install these example modules as you do any other Magento module.

  1. Copy or symlink the Example directory into your Magento installation's app/code directory, as shown here:

    To Symlink:

    ln -s <Relative_route_to_cloned_Example_directory>
    
    Examples installation directory
  2. Enable the modules using the following command:

    bin/magento setup:upgrade
  3. Navigate to a Page Builder instance to ensure the example content types appear in the Page Builder panel as shown here:

    Content type examples shown in panel

Contributing

We encourage and welcome you to help us keep these examples current by submitting PRs and issues. We also welcome your feedback and ideas about creating other code examples to add to this repo.