commercetools-8.x-1.2-alpha1/modules/commercetools_decoupled/components/pages/cart-page/cart-page.component.yml

modules/commercetools_decoupled/components/pages/cart-page/cart-page.component.yml
$schema: https://git.drupalcode.org/project/drupal/-/raw/10.1.x/core/modules/sdc/src/metadata.schema.json
name: commercetools cart page
status: experimental
group: commercetools
props:
  type: object
  properties: {}

libraryOverrides:
  dependencies:
    - commercetools_decoupled/commercetools
    - commercetools_decoupled/placeholderify
    - commercetools/commercetools.bootstrap_checker
    - core/drupal.message
  js:
    js/CartPage.js: { attributes: { type: 'module', defer: true } }
    # We have to include here all dependencies of the components used in the
    # template to extract translation strings from them by Drupal.
    # @see https://medium.com/swissquote-engineering/drupal-8-react-i18n-and-typescript-c43aab12532d
    ../../../js/templates/CartInfo.js: { attributes: { type: module } }
    ../../../js/organisms/CartForm.js: { attributes: { type: module } }
    ../../../js/molecules/LineItems.js: { attributes: { type: module } }
    ../../../js/molecules/LineItem.js: { attributes: { type: module } }

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc