mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Made the basic newsView, the only issue? You need to luanch the window TWICE in order to see the window, strange behavior? this also exists before btw.
This commit is contained in:
parent
122a01fe73
commit
b6f67d9db8
6 changed files with 36 additions and 15 deletions
|
@ -1,6 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
import { SparklesIcon, UserIcon, NewspaperIcon } from "lucide-vue-next";
|
||||
const slug = "kEJjxKw";
|
||||
const props = defineProps<{
|
||||
values?: string;
|
||||
}>();
|
||||
|
||||
const slug = props.values; // Make the props.values static to the window NOT the entire thing and no arrays.
|
||||
|
||||
// FOR THIS MODULE DO NOT USE THE ?APPNAME URL TYPE, IT WILL FALL AT ALL TIMES, I HAVE NO CLUE WHY IS BEHAVIOR HAPPENING RN?
|
||||
const { data, error, pending } = useFetch(`/api/news/get/lt/${slug.trim()}`);
|
||||
console.log(data.value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue