Started mocking API

This commit is contained in:
Jef Roosens 2021-12-28 18:46:55 +01:00
parent 81266f427b
commit 243dc9fe17
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
4 changed files with 91 additions and 2 deletions

View file

@ -5,7 +5,7 @@ defineProps<{ msg: string }>()
const count = ref(0)
fetch('/api/users').then(res => res.json()).then(res => console.log(res))
fetch('/api/v1/sections').then(res => res.json()).then(res => console.log(res))
</script>
<template>