/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-2-hello-world-a0ae090da402-2-hello-world-s0505-c0000.md
2. Hello World - hono-docs
2. Hello World Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt 2 hello world Summary In the index...
2. Hello World
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#2-hello-world
Summary
In the index.ts or src/index.ts of your project, export the Hono application as a default export. ```ts import { Hono } from 'hono' const app = new Hono() const welcomeStrings = [ 'Hello Hono!', 'To learn more about Hono on Vercel, v...
Content
In the index.ts or src/index.ts of your project, export the Hono application as a default export.
import { Hono } from 'hono'
const app = new Hono()
const welcomeStrings = [
'Hello Hono!',
'To learn more about Hono on Vercel, visit https://vercel.com/docs/frameworks/backend/hono',
]
app.get('/', (c) => {
return c.text(welcomeStrings.join('\n\n'))
})
export default appIf you started with the vercel template, this is already set up for you.