Skip to content

Commit

Permalink
add examples prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
gvkhna committed May 31, 2024
1 parent b3e27fc commit 9f8c9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/examples/[id].astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import ExamplePage from '@/partials/site/example-page.astro'
import {Examples} from '@/partials/site/examples'
export const prerender = true
export function getStaticPaths() {
return Examples.map((item) => {
return {params: {id: item.id}}
Expand Down

0 comments on commit 9f8c9c6

Please sign in to comment.