How do I import content blocks?

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

composer require aerocargo/blocks-import-export

After installing the package, we can navigate to the admin then Content Management and finally, Blocks. In the top right corner of this page, we now have a button for importing blocks.

The .zip file required by the importer can only be generated by the content blocks exporter. If we do have an exported .zip file we can simply upload it within the modal that appears on button click. After uploading the .zip file and letting the blocks import, they should appear in the list.

Articles in this section

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