mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
when then article exists & not ddos line today, Also made a basic newsView with the api & the scraping script now scraps more stuff! :D
11 lines
382 B
Vue
11 lines
382 B
Vue
<script setup lang="ts">
|
|
const { data, error, pending } = useFetch("/api/get/lt/kEJjxKw"); //demo URL
|
|
</script>
|
|
<template>
|
|
<div class="justify-center align-center text-center flex flex-col">
|
|
<h2 class="text-3xl text-bold">{{ data.title }}</h2>
|
|
<span class="text-lg text-bold"
|
|
>origin: {{ data.origin }} • author: {{ data.author }}</span
|
|
>
|
|
</div>
|
|
</template>
|