Skip to content

larsroettig/pwa-studio-component-override

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Repository for PWA Studio Component Overwrite

demo

Since Version 7.0 is possible to use Extensibility framework Magento provides different apis but currently is not possible to replace already existing components. This repository shows a workaround to build a standlone PWA Studio Extension.

Note
Requirements
We need way how a plugin can register own new components to already existing or extension provider need to many stepes before they can use extension what will overwrite replacing an existing component.
Note
Vision
PWA Studio packages should be able to declare which of their components are safe to replace, and make them replaceable
Caution
Replacing a component can be dangerous.It is not a compound change, so if two extensions both want to replace the same file, it can lead to errors.

How to install

Add to pwa-studio-release-7.0/packages/venia-concept/package.json

"@larsroettig/venia-ui-overwrites": "file:<yourworkspace>/pwa-studio-component-override/packages/venia-ui-overwrites",
"@larsroettig/top-bar-plugin": "file:<yourworkspace>/pwa-studio-component-override/packages/top-bar-plugin",

About

Demo for Magento PWA Studio extensibility framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published