This webcomponent follows the open-wc recommendation.
- Login/Signup Own Github account
- Fork this repository to your own Github
- Clone the code
git clone <gitrepo-url>- Update Node version to 14.16.1 or above LTS version
Go to my account > Settings > Developer settings > Personal access tokens > Generate new token Choose all scopes and click generate token
npm iTo run the suite of Web Test Runner tests, run
npm run testTo run the tests in watch mode (for <abbr title="test driven development">TDD</abbr>, for example), run
npm run test:watchTo run a local instance of Storybook for your component, run
npm run storybooknpm startTo resolve CORS issues while calling API from localhost, install CORS Unblock extension in chrome and enable all 3 options.
git add filename
git config --global user.email `email address`
git config --global user.name `username`
git commit -m <msg>
git remote set-url origin https://<token>@github.com/<username>/<reponame>
git push