adding some sort of articles section
This commit is contained in:
8
src/routes/guides/+page.ts
Normal file
8
src/routes/guides/+page.ts
Normal file
@ -0,0 +1,8 @@
|
||||
export const load = async ({ fetch }) => {
|
||||
const response = await fetch(`/api/guides`);
|
||||
const guides = await response.json();
|
||||
|
||||
return {
|
||||
guides
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user