1021 B
1021 B
mail-landing
Static landing site for mail.mifi.holdings (HTML/CSS/JS), built to dist/ and served with nginx in production.
Dev Container (local development and preview)
-
Open in Dev Container
In Cursor/VS Code: Command Palette → Dev Containers: Reopen in Container (or Clone Repository in Container Volume when opening the repo).
The first time will build the container (Node 22 + pnpm) and runpnpm install. -
Preview the site
In the container terminal:- Quick preview (serves
src/as-is, no build):
pnpm preview - Production-like preview (build then serve
dist/):
pnpm preview:prod
Port 3000 is forwarded; open http://localhost:3000 in the host browser (or use the “Preview” port notification).
- Quick preview (serves
-
Other commands
pnpm build— buildsrc/→dist/(minify JS/CSS, inline critical CSS)pnpm lint/pnpm format— lint and formatpnpm docker:build— build production image