feat: added user deletion and custom api call in the frontend
All checks were successful
CI / build (push) Successful in 11s

This commit is contained in:
Pierre Tellier
2025-02-18 16:45:41 +01:00
parent 86e7dc7c75
commit 5e8e875a37
2 changed files with 146 additions and 0 deletions

View File

@ -1,6 +1,9 @@
<script lang="ts" setup>
import { store } from "../main.ts";
import { callApi } from "@/services/api.ts";
import { ref } from "vue";
const CustomRequest = ref("");
</script>
<template>
@ -55,6 +58,14 @@ import { callApi } from "@/services/api.ts";
<td>res</td>
<td id="3"></td>
</tr>
<tr>
<td>
<input v-model="CustomRequest" placeholder="edit me" />
</td>
<td>
<button @click="callApi(CustomRequest)">call</button>
</td>
</tr>
</tbody>
</table>
</template>