/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-split-your-app-and--4b7e7123ceeb-split-your-app-and-client-into-multiple-files-s0074-c0000.md

Split your app and client into multiple files - hono-docs

Split your app and client into multiple files Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt spl...

Split your app and client into multiple files

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#split-your-app-and-client-into-multiple-files

Summary

As described in Using RPC with larger applications, you can split your app into multiple apps. You can also create a client for each app: ```ts // authors-cli.ts import { app as authorsApp } from '....

Content

As described in Using RPC with larger applications, you can split your app into multiple apps. You can also create a client for each app:

// authors-cli.ts
import { app as authorsApp } from './authors'
import { hc } from 'hono/client'

const authorsClient = hc<typeof authorsApp>('/authors')

// books-cli.ts
import { app as booksApp } from './books'
import { hc } from 'hono/client'

const booksClient = hc<typeof booksApp>('/books')

This way, tsserver doesn't need to instantiate types for all routes at once.

Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-split-your-app-and--4b7e7123ceeb-split-your-app-and-client-into-multiple-files-s0074-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.