npm install && npm start
- Build static assets
npm install && npm run build
-
Upload static assets into static address
-
Load calculator into any desired frontend:
Place this in html head
<link rel="stylesheet" type="text/css" href="<link-to-your-static-css">
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
Place this in bottom of html body
<script
src="<link-to-your-static-js>"
mountNode="<id-of-dom-node-to-mount-on>"
lan="<language-choice>"
></script>
<!--
default values:
mountNode: 'savings-calculator'
lan: 'en'
-->