/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.