Web application to demonstrate React.js with TypeScript. Includes a display of sample products and functionality of a shopping cart whereby you can add, remove, and change quantity of the sample products.
Deployed Site: ConnorXCX.github.io/AcmeShoppingCart
References:
Commands to Run Locally:
npm install
npm run dev
How to Configure GitHub Pages Dependency:
- Add
base
parameter tovite.config.js
- Add
homepage
parameter topackage.json
- Add
predeploy
parameter withnpm run build
underscripts
in package.json - Add
deploy
parameter withgh-pages -d dist
underscripts
in package.json npm install gh-pages --save-dev
Command to Deploy to GitHub Pages:
npm run deploy