Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.06 KB

File metadata and controls

42 lines (30 loc) · 2.06 KB

JS Storefront Template

To bootstrap a new Spartacus storefront, run:

./boostrap.sh <project name>

You can delete the bootstrap folder and script afterwards.

Requirements

  • Angular CLI: 12.0 or later.
  • node.js: 14.x [1]
  • yarn: v1.15 or later

(ref Building the Spartacus Storefront Using 4.x Libraries)

[1]: Node.js 12 is EOL by 2022-04-30

What does the script do?

  • Bootstraps a new Spartacus project from scratch as recommended by the official documentation (with PWA and SSR support)
  • Enable optimizations (patches in bootstrap/patches):
  • Generate a manifest.json for CCv2 with correct settings for Client Side and Server Side Rendering