@axa-ch/pod-esales-mf
v1.53.0
Published
POD Digital MF (Motorfahrzeug) Frontend
Downloads
865
Keywords
Readme
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 servernpm run build
to trigger a ESM build needed for Midgardnpm 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"]