Add missing node build files

This commit is contained in:
2025-03-07 23:46:35 -08:00
parent 88dcc6e290
commit b319386274
13 changed files with 34 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ export async function getStaticPaths() {
const hobbies = await getCollection('hobbies');
return hobbies.map(hobby => ({
params: { id: hobby.id },
props: { post: hobby },
props: { hobby: hobby },
}));
}
// 2. For your template, you can get the entry directly from the prop