mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
1a7b570c82
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
10 lines
213 B
Vue
10 lines
213 B
Vue
<script setup>
|
|
const { data: mountain } = await useFetch(
|
|
'https://api.nuxtjs.dev/mountains/mount-everest'
|
|
)
|
|
</script>
|
|
|
|
<template>
|
|
<pre class="text-sm text-left overflow-auto">{{ mountain }}</pre>
|
|
</template>
|