Closed MellKam closed 1 year ago
My /pages/index.astro
/pages/index.astro
--- import { astroI18n } from "astro-i18n"; astroI18n.init(Astro); export const prerender = true; --- ...
Generated file (/pages/ua/index.astro):
/pages/ua/index.astro
--- import Page from "../index.astro" const { props } = Astro // would be nice to have `export const prerender = true;` --- <Page {...props} />
Of course, I can just edit them manually, but it would be great to automatically detect exported properties or to be able to enable copying them.
Thanks for reporting, I totally forgot about this, I'll add it asap.
fixed in v1.6.10
My
/pages/index.astro
Generated file (
/pages/ua/index.astro
):Of course, I can just edit them manually, but it would be great to automatically detect exported properties or to be able to enable copying them.