This repository contains ScandiPWA Theme sources.
Unless you are trying to commit to "core" components - use
composer require scandipwa\installer
package instead.
This branch contains 2.x version, that requires different DB dump available on 2.0 branch
It is important to ensure you are following the best practices and setting web-server root to /pub
folder or adapt the build configs prefixing the pathes with /pub
dir scandipwa#134
When upgrading to theme version ^1.7, pay attention to webpack.*.config
files, new plugin was added there. Also, the index is now split in two parts: the index.production.html
and index.development.html
.
ScandiPWA Theme is based on React and Redux. It is built with Webpack v4, therefore you will need NodeJS environment support on your CI/CD server or local machine in order to build it.
Once theme is built it is a valid Magento 2 theme with no additional requirements.
For better performance Varnish cache is required. You must ensure Varnish is caching static (javascript and CSS) in order to have the best performance for the app shell loading.
Read full application documentation
The docker environment is prepared to deploy and develop theme - scandipwa-base