Skip to content

shopgate/pwa

Repository files navigation

Shopgate Logo

Shopgate's ENGAGE

Build Status Coverage Status GitHub (pre-)release lerna License

Documentation

Check out our documentation website!

Setting up new core extensions

To set up a new core extension you need to perform the following steps:

  • Add an exception into the .gitignore file as it was done with @shopgate-product-reviews.
  • Open the file repos.json and add the repository to include there as a subtree.
  • Add the new extensions into the Makefile as an additional value for the EXTENSIONS variable.
    • If it's not an extension, then use the apropriate variable in the Makefile.
  • Open the monorepo's lerna.json file and add your extension as an additional entry in packages
  • Add the same entry additionally into workspaces in the package.json file

PWA 7 specialities

The GMD theme of PWA 7 supports a special mode to display responsive content for desktop browsers. To enable PWA in desktop browsers, pipeline requests (that are an app concept originally) are transformed to AJAX requests which are send to a special proxy which is called "web bridge".

To enable the bridge, frontend needs to be started with a special environment parameter.

WEB_BRIDGE=1 sgconnect frontend start

or

WEB_BRIDGE=1 sgconnect frontend start -t theme-gmd

About Shopgate

Shopgate is the leading mobile commerce platform.

Shopgate offers everything online retailers need to be successful in mobile. Our leading software-as-a-service (SaaS) enables online stores to easily create, maintain and optimize native apps and mobile websites for the iPhone, iPad, Android smartphones and tablets.

License

Shopgate's ENGAGE is available under the Apache License, Version 2.0.

See the LICENSE.md file for more information.