Vue 3 + Vite mini-commerce demo (PWA via vite-plugin-pwa), Vuex 4, Vue Router, axios with an in-app mock API (src/api-mock).
Requires Bun.
bun install
Compiles and hot-reloads for development (http://localhost:8080)
bun run serve
bun run build
Serve the production build (http://localhost:8080)
bun run start
bun run test:unit
bun run test
Playwright starts its own dev server on port 5199 (override with E2E_PORT).
No playwright install is needed when a Chromium is already available: the config uses
CHROMIUM_PATH if set, otherwise /opt/pw-browsers/chromium when it exists, otherwise
Playwright's own browser cache. Screenshot baselines live in
tests/integration/__screenshots__; refresh them with bun run test:update-snapshots.
bun run lint
bun audit