MyAXA react-based frontend (started 2018/11)
npm run startor use IDEA run configuration called
myaxa start dev
npm run start:hmr
Storybook is an open source tool for developing UI components in isolation for React, Vue, and Angular. It makes building stunning UIs organized and efficient.
We currently use version ^5.0.0
To add new stories use
*.stories.tsx postfix in filename
For local development run
npm run storybook or use Run Configuration in IDEA.
Open http://localhost:3004 and happy coding!
npm run storybook:publish. This will build static files into
/docs folder and push it into
Live version is available here: https://pages.github.axa.com/axa-ch-myaxa/myaxa-fe/
Ctrl+Shift+Rto load last version.
heightprops. (we set dimensions with scss)
currentColor(we set color with scss)
npm run icons- to check for duplicite icons, to optimize icons (will create optimized folder with icons - not included in git), create sprite, generate file with types for TS
Add new module