diff --git a/boilerplates/vue/files/pages/star-wars/index/+title.ts b/boilerplates/vue/files/pages/star-wars/index/+title.ts index fc6e4e111..877163613 100644 --- a/boilerplates/vue/files/pages/star-wars/index/+title.ts +++ b/boilerplates/vue/files/pages/star-wars/index/+title.ts @@ -2,6 +2,6 @@ import type { PageContext } from "vike/types"; import type { Data } from "./+data.js"; export function title(pageContext: PageContext) { - const movies = pageContext.data; + const movies = pageContext.data.data; return `${movies.length} Star Wars Movies`; }