ScandiPWA is installed as an NPM module in the node_modules
directory. This means that its source code is not directly editable. However, there are often times when you may need to modify the application’s appearance or add new functionality. ScandiPWA has a solution for this - it utilizes the Mosaic package to enable:
Theming: This allows you to override a file in a child theme by creating a file with the same name and location as the original file. This approach is particularly effective for UI extensions that are not intended to be reused in other projects.
Plugin: This involves creating a new plugin file and plugging it into some namespace. This method is ideal for extending the application logic.