https://coffee-cart.app/. This demo created with Vue 3 + Typescript + Vite.
- Double click on coffee title to translate it to Chinese.
- Right click on coffee icon to open an add to cart
<dialog>
. - [Desktop only] Hover over Pay button will show a quick cart preview, click to add or remove items.
- A random promo coffee pop up show up when adding every 3rd items to the cart. (e.g. 3, 6, 9, ...)
- The add to cart process will be slowing down (intentionally) when the cart has more than 7 items.
- Slow down page load performance with ads by passing in an
ads
param (e.g. https://coffee-cart.app/?ad=1).
- Run with https://coffee-cart.app?ad=1
- When the cart has more than 7 items, The process will be slowing down.
- Go to https://goo.gle/devtools-performance to learn more about how to perform performance analysis.
- Run with https://coffee-cart.app
- Go to https://goo.gle/devtools-recorder to learn how to record, replay user flows with DevTools Recorder.
- Download the project.
- Run
npm install
. - Run
npm run dev
to start a local server.