Home / Function/ data() — astro Function Reference

data() — astro Function Reference

Architecture documentation for the data() function in generator.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  4bfdef72_19c4_f1a0_b114_f2ac82daad05["data()"]
  f66463aa_0743_20f2_0ef3_7ae29013020e["generator.ts"]
  4bfdef72_19c4_f1a0_b114_f2ac82daad05 -->|defined in| f66463aa_0743_20f2_0ef3_7ae29013020e
  style 4bfdef72_19c4_f1a0_b114_f2ac82daad05 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/routing/manifest/generator.ts lines 47–47

type RouteGenerator = (data?: any) => string;

Domain

Subdomains

Frequently Asked Questions

What does data() do?
data() is a function in the astro codebase, defined in packages/astro/src/core/routing/manifest/generator.ts.
Where is data() defined?
data() is defined in packages/astro/src/core/routing/manifest/generator.ts at line 47.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free