use new sveltekit project
This commit is contained in:
10
packages/web/src/routes/+page.server.ts
Normal file
10
packages/web/src/routes/+page.server.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// import { db } from '$lib/db/db.server';
|
||||
// import { myTable } from '$lib/db/schema';
|
||||
import type { PageServerLoad } from './$types';
|
||||
|
||||
export const load = (async () => {
|
||||
// const result = await db.select().from(myTable);
|
||||
return {
|
||||
message: 'Hi :4888829383991292222244343434'
|
||||
};
|
||||
}) satisfies PageServerLoad;
|
||||
Reference in New Issue
Block a user