This template should help get you started developing with Vue 3 in Vite.
VS Code + Vue (Official) (and disable Vetur).
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
See Vite Configuration Reference.
npm installnpm run devnpm run buildThis project includes Firebase Cloud Functions that send customer email notifications directly via Gmail SMTP whenever:
- a new order is created
- an existing order changes status
- Install dependencies for the Cloud Functions workspace:
cd functions
npm install- Create the Gmail app password secret for Functions:
npx firebase functions:secrets:set GMAIL_APP_PASSWORD- Deploy the functions:
firebase deploy --only functionsonOrderCreatedSendEmail: sends an order receipt / acknowledgement emailonOrderStatusChangedSendEmail: sends a status update email when an admin changes an order status