Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Register wc-blocks-components script in asset API
Browse files Browse the repository at this point in the history
  • Loading branch information
opr committed Oct 11, 2023
1 parent bc998f3 commit f4b28c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public function register_assets() {
$this->api->register_script( 'wc-price-format', 'build/price-format.js', [], false );

$this->api->register_script( 'wc-blocks-checkout', 'build/blocks-checkout.js', [] );
$this->api->register_script( 'wc-blocks-components', 'build/blocks-components.js', [] );

wp_add_inline_script(
'wc-blocks-middleware',
Expand Down

0 comments on commit f4b28c6

Please sign in to comment.