This is a web app for testing the Icon Button Generator lambda function. It is built with React and deployed on GitHub Pages.
Web-app Demo: https://calvincchan.github.io/icon-button-generator-frontend/
-
yarn install
to install dependencies. -
yarn prebuild
to generate required svg icon files and manifest. -
Provide the icon generator lambda function url in one of the following ways:
- use environment variable
VITE_LAMBDA_URL
- add
VITE_LAMBDA_URL
to the.env
file.
- use environment variable
-
Develop -
yarn dev
-
Build -
yarn build
and the production files will be saved to./dist
. -
Preview built production files -
yarn preview
.