wip: pass preview data

This commit is contained in:
2025-09-24 10:55:49 -04:00
parent b11e1b3dc4
commit b8954be7eb
3 changed files with 14 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
export default defineEventHandler(() => {
export default defineEventHandler(async (event) => {
const body = await readBody(event);
console.log(body);
return `<div>TODO: Preview from Nuxt API endpoint</div>`;
});