@kekkai/blueprint / nextPreset
Function: nextPreset()
nextPreset(
options?):Blueprint
Defined in: presets/presets.ts:275
Canonical Next.js blueprint. The route tree (app/ and/or pages/) is the top layer — flat module layout, since file-based routing owns its own file names and nesting. No fetch ownership: server components fetch everywhere by design, so restricting it to one layer would be a lie. srcDir picks the source root (src vs the project root, where app/ sits without --src-dir).
Parameters
options?
NextPresetOptions = {}
Returns
Example
ts
export default nextPreset({ router: 'app', srcDir: true });