diff options
| author | Kenimarru <[email protected]> | 2024-01-09 18:45:34 +0100 |
|---|---|---|
| committer | Kenimarru <[email protected]> | 2024-01-09 18:45:34 +0100 |
| commit | a74a925e23addd5cc40476bda5827ec382a2618b (patch) | |
| tree | 16d9ab0b14a30159da945033c4d072228a86e146 /pages | |
| parent | v0.4.0 (diff) | |
| download | hiruku-master.tar.xz hiruku-master.zip | |
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/search/[query].vue | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pages/search/[query].vue b/pages/search/[query].vue new file mode 100644 index 0000000..42d6fcd --- /dev/null +++ b/pages/search/[query].vue @@ -0,0 +1,8 @@ +<template> + <Cards title="Search Result" :description="`Query: ${query}`" :data="data" /> +</template> + +<script setup> +const { query } = useRoute().params +const { data } = await useFetch("/api/search?query=" + query); +</script>
\ No newline at end of file |