I am able to overwrite modify the following components:

Main, App, Footer, Header, Logo, Routes, CategoryTree by following Doc: ref:https://magento.github.io/pwa-studio/tutorials/pwa-studio-fundamentals/modify-site-footer/

To modify component such as CategoryTree i required override Webpack plugin. REF:https://amasty.com/blog/how-to-create-pwa-storefront-using-magento-2-pwa-studio/

But not able to figure it out how to modify/overwrite Gallery component.

anyone any ideas what I' missing ?

有帮助吗?

解决方案

I think you're talking about Gallery component used in category and search pages.

In this case you're missing some other components override in the chain. For example if you're trying to override Gallery component in category page you should also override categoryContent.js root template since it includes Gallery component via relative path inclusion https://github.com/magento/pwa-studio/blob/develop/packages/venia-ui/lib/RootComponents/Category/categoryContent.js#L11

许可以下: CC-BY-SA归因
scroll top