woocommerce/plugins/woocommerce-admin/client/wp-admin-scripts
Chi-Hsuan Huang 7068c78101
Fix JS lint errors (#33484)
* Fix @woocommerce/data lint errors

* Fix internal-e2e-builds lint error

* Fix lint errors
2022-06-21 16:37:34 +08:00
..
add-term-tracking Add initial tracking for categories, tags, and attribute product pages (#33118) 2022-05-30 13:14:25 -03:00
attributes-tracking Add initial tracking for categories, tags, and attribute product pages (#33118) 2022-05-30 13:14:25 -03:00
beta-features-tracking-modal Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
category-tracking Add initial tracking for categories, tags, and attribute product pages (#33118) 2022-05-30 13:14:25 -03:00
marketing-coupons Add Coupon feature (https://github.com/woocommerce/woocommerce-admin/pull/4526) 2020-06-16 12:00:41 +09:30
navigation-opt-out Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
onboarding-homepage-notice Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
onboarding-load-sample-products-notice Add onboarding load sample products notice 2022-05-04 10:15:03 +08:00
onboarding-product-import-notice Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
onboarding-product-notice Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
onboarding-tax-notice Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client 2022-04-01 11:41:32 +08:00
payment-method-promotions Fix JS lint errors (#33484) 2022-06-21 16:37:34 +08:00
print-shipping-label-banner Fix JS lint errors (#33484) 2022-06-21 16:37:34 +08:00
product-tour Fix JS lint errors (#33484) 2022-06-21 16:37:34 +08:00
product-tracking Fix JS lint errors (#33484) 2022-06-21 16:37:34 +08:00
tags-tracking Add initial tracking for categories, tags, and attribute product pages (#33118) 2022-05-30 13:14:25 -03:00
README.md Onboarding: Add return to task list after saving taxes (https://github.com/woocommerce/woocommerce-admin/pull/3170) 2019-11-07 08:17:46 +08:00

README.md

Scripts located in this directory are meant to be loaded on wp-admin pages outside the context of WooCommerce Admin, such as the post editor. Adding the script name to wpAdminScripts in the Webpack config will automatically build these scripts.

Scripts must be manually enqueued with any neccessary dependencies. For example, onboarding-homepage-notice uses the WooCommerce navigation package:

wp_enqueue_script( 'onboarding-homepage-notice', Loader::get_url( 'wp-scripts/onboarding-homepage-notice.js' ), array( 'wc-navigation' ) );