Backend integrated?
Some checks failed
Build and Deploy Nuxt / build (push) Failing after 2m1s

This commit is contained in:
2026-03-17 19:48:05 +01:00
parent 3e0cdf8cc4
commit 45404157b3
15 changed files with 1624 additions and 58 deletions

View File

@@ -1,3 +1,18 @@
<script setup lang="ts">
import api from '~/composables/api'
const { get, post } = api();
onMounted(async () => {
try {
console.log("Getting")
const response = await get('/test');
console.log('API Response:', response);
} catch (error) {
console.error('API Error:', error);
}
});
</script>
<template>
<h1>ARANROIG.COM</h1>