Cloudflare
This page hasn't been translated yet — shown in its original language:Español
Introducción
Proyecto demo: https://gitlab.com/xtec/web/cloudflare
Live: https://cloudflare.xtec.app/
Hono
https://nodejs.org/en/download
https://developers.cloudflare.com/workers/framework-guides/web-apps/more-web-frameworks/hono/
Workers
Crea un nuevo proyecto {% link “/ts/react/” %}:
npm create cloudflare@latest cloudflare -- --framework=react --platform=workersPara la configuración, seleccione las siguientes opciones:
- Para What would you like to start with?, selecciona Framework Starter.
- Para Which development framework do you want to use?, selecciona React.
Cambia al directorio del proyecto:
cd cloudflareInicia un servidor local para desarrollar el proyecto:
npm run devDespliega el proyecto en Cloudflare:
npm run deployYou're reading a preview.
Sign in with Google to read the full page. Follow the learning path — each page opens once you've read the ones it builds on. Students and teachers read their course pages without limit.
Sign in