-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from borj4/master
options api
- Loading branch information
Showing
6 changed files
with
234 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,28 @@ | ||
<script setup> | ||
import { ref } from 'vue' | ||
</script> | ||
<script></script> | ||
|
||
<template> | ||
<div> | ||
<h1>Fetching data exercise</h1> | ||
</div> | ||
<div> | ||
In this exercise, we will request to a REST API to retrieve some information and print in our template. | ||
We have to request to the following mock API, which return a list of TO-DOs objects. | ||
The URL to request is https://jsonplaceholder.typicode.com/todos | ||
In this exercise, we will request to a REST API to retrieve some information | ||
and print in our template. We have to request to the following mock API, | ||
which return a list of TO-DOs objects. The URL to request is | ||
https://jsonplaceholder.typicode.com/todos | ||
</div> | ||
<div> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Title</th> | ||
<th>Body</th> | ||
</tr> | ||
<tr> | ||
<th>Title</th> | ||
<th>Body</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<!-- Replace with the full list of TO-DOs --> | ||
<!-- Replace with the full list of TO-DOs --> | ||
</tbody> | ||
</table> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
</style> | ||
<style scoped></style> |
Oops, something went wrong.