Skip to content

Vike

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:

Terminal window
> bun create vike@latest vike --react --tailwindcss --hono --cloudflare

Hono is a web application framework.

import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => c.text('Hono!'))
export default app

El contingut d'aquest lloc web té llicència CC BY-NC-ND 4.0.

©2022-2025 xtec.dev