Veltro Theme Documentation
Path Aliases & Real File Paths
Veltro’s aliases are defined in tsconfig.json:
"paths": { "@/components/*": ["./src/layouts/components/*"], "@/shortcodes/*": ["./src/layouts/shortcodes/*"], "@/helpers/*": ["./src/layouts/helpers/*"], "@/*": ["./src/*"]}Examples:
@/components/sections/Banner.astromaps tosrc/layouts/components/sections/Banner.astro@/shortcodes/Accordion.astromaps tosrc/layouts/shortcodes/Accordion.astro@/helpers/Icons.astromaps tosrc/layouts/helpers/Icons.astro@/lib/utils/i18nUtils.tsmaps tosrc/lib/utils/i18nUtils.ts
There is no top-level src/components/ folder; the component alias intentionally points into src/layouts/components/.