Support

Account

Home Forums Gutenberg Block script error Reply To: Block script error

  • You need to create product-grid.asset.php beside product-grid.js that returns an array with the following keys:

    • handle (string)
    • dependencies (string[])
    • version (string|false|null)

    Check here: https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#wpdefinedasset