add strapi

This commit is contained in:
nicwands
2026-05-29 16:25:36 -04:00
parent 920a2452dd
commit ef70a0c756
5 changed files with 338 additions and 2 deletions

7
pages/index/+data.js Normal file
View File

@@ -0,0 +1,7 @@
import { getGlobal } from '@/libs/strapi'
export const data = async () => {
const global = await getGlobal()
return { global: global.data }
}