Started mocking API
This commit is contained in:
parent
81266f427b
commit
243dc9fe17
4 changed files with 91 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Reference in a new issue