@axa-ch/pod-esales-mf

1.53.0 • Public • Published

POD pod-esales-mf

This is a Micro Frontend deployable on the AXA.ch WebHub.

Scripts

  • To build: npm install
  • To install the pod locally: npm install @axa-ch/pod-esales-mf

DEV commands

  • npm start start dev server
  • npm run build to trigger a ESM build needed for Midgard
  • npm run lint to run local linters

Open app with different stage and language settings

After an app was started you can access it by opening your browser at e.g. http://localhost:8093

By default german will be used as language, acc as stage and car as subproduct.

If you want to change one of these parameters open your browser at http://localhost:8093/local/fr for local api and french, or http://localhost:8093/dev/en/motorcycle for dev api, english and motorcycle subproduct etc.

More

  • Cypress e2e testing, setup and results
  • in terminal window type: set CYPRESS_CREATE_FAILED_OFFER=true, if you want offer creation when test fails
  • in terminal window type: set CYPRESS_TARGET_ENV=acc-stable, if you want to test against acc stable environment

Worth a read

Setup stylelint for vs code

In your workspace setting add following line: "stylelint.validate": ["css", "less", "postcss", "scss"]

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-ch/pod-esales-mf

Weekly Downloads

0

Version

1.53.0

License

ISC

Unpacked Size

4.33 MB

Total Files

4

Last publish

Collaborators

  • gianlucaguarini
  • valentin-hasler
  • marek.laco
  • domirs
  • axa-ch-user
  • matthias.zuercher
  • selinagahlinger