cd site
npm install
npm run dev- Build command:
npm run build - Build output directory:
dist - Root directory in the Cloudflare Pages project:
site
After connecting the Pages project, add your custom domain in the Cloudflare Pages dashboard under the project settings. No extra runtime config is required for this static app.