Ric Le Poidevin @riclep.dev · Oct 1

I just updated my @storyblok.com Laravel CLI to introduce merging component fields. The way it works is you create a JSON file of just the new/updated fields you want and run the command specifying the Block to update. artisan ls:merge-component block_name changes.json

3 likes 1 replies

?

Replies

Ric Le Poidevin · Oct 1

This is great if you want to introduce a field to lots of blocks. For example, I have a custom plugin to manage responsive padding, I can make a JSON file (or export a Block already using it), then merge that field into all the Blocks that need it.