How do I export content blocks?

In order to export content blocks, we require an Aero package. To install this package, type the following command in the project root directory:

composer require aerocargo/blocks-import-export

After the package has been installed successfully, we can navigate to the admin, then to Content Management, and lastly to the Blocks. We can now use the bulk action to select which blocks we wish to export, otherwise if we wish to export all of the content blocks we select the checkbox next to the name header field of the table.

Finally, we apply the “Export blocks” bulk action at which point the export will generate the necessary blocks and download them to the user’s browser.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful