Introducción
Cloudflare pages
https://vike.dev/cloudflare-pages
The vike-cloudflare package enables zero-configuration deployment to Cloudflare Pages.
It will deploy prerendered routes as static files, and dynamic routes as Pages Functions.
You can use Bati to scaffold a Vike app that uses Cloudflare Pages with vike-cloudflare
.
Crea un proyecto con el nombre vike
:
> bun create vike@latest vike --react --tailwindcss --hono --cloudflare
Hono
Hono is a web application framework.
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hono!'))
export default app