Skip to content

ErnestsVerins/base-theme

 
 

Repository files navigation

ScandiPWA Theme

Codacy Badge

FOSSA Status

This repository contains ScandiPWA Theme sources.

Unless you are trying to commit to "core" components - use composer require scandipwa\installer package instead.

Important note

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

Official Magento 2 docs

Upgrading to version ^1.7

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.

Environment

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.

Runtime

Once theme is built it is a valid Magento 2 theme with no additional requirements.

Caching

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.

ScandiPWA docs

Read full application documentation

Docker for local development

The docker environment is prepared to deploy and develop theme - scandipwa-base

License

FOSSA Status

Packages

No packages published

Languages

  • JavaScript 82.6%
  • CSS 16.6%
  • Other 0.8%