SAP/spartacus-docs

Update schematics docs

Open

Aperta il 31 lug 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)HTML (11 star) (22 fork)auto 404
buggood first issue

Descrizione

This page contains the following schematics instructions:

  • ng g @spartacus/schematics:add-pwa - this is failing. We were aiming for the PWA schematic to be used in the following way: ng add @spartacus/schematics --pwa. It would be nice to mention that this command can be ran even after Spartacus was initially added (using ng add @spartacus/schematics).
  • ng g @spartacus/schematics:add-ssr - I haven't checked this one, but I can expect similar issues as with the PWA schematic, so it would be good to update it to ng add @spartacus/schematics --ssr.

Guida contributor