No description
- TypeScript 54.4%
- Vue 38.1%
- Shell 6.3%
- CSS 1.2%
| .bolt | ||
| app | ||
| public | ||
| server | ||
| types | ||
| .gitignore | ||
| get_latest.sh | ||
| nuxt.config.ts | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| wrangler.toml | ||
BTClock Web Flasher
Powered by Nuxt, Vue and esptool-js
Setup
Make sure to install the dependencies:
# pnpm (recommended)
corepack enable
pnpm install
Development Server
Start the development server on http://localhost:3000
pnpm dev
Production
Build the application for production:
pnpm build
Locally preview production build:
pnpm preview
Cloudflare Pages (Wrangler)
This app is a static SPA (nuxt generate → .output/public). Deploy with Wrangler:
pnpm exec wrangler login
pnpm exec wrangler pages project create btclock-web-flasher-v3 --production-branch=main
pnpm run cf:pages:v3
If Wrangler reports multiple Cloudflare accounts, set account_id in wrangler.toml or the CLOUDFLARE_ACCOUNT_ID environment variable. The deploy scripts pass --project-name explicitly.
Preview the uploaded bundle locally (after pnpm run generate):
pnpm run cf:pages:preview