문제

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 ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top