split home page and flux note page
This commit is contained in:
16
src/views/FluxNoteView.vue
Normal file
16
src/views/FluxNoteView.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import FluxNote from '@/components/FluxNote.vue'
|
||||
import { useComputeBacklinks } from '@/hooks/useComputeBacklinks.hook'
|
||||
import { useQueryStackedNotes } from '@/hooks/useQueryStackedNotes.hook'
|
||||
import { computed } from 'vue'
|
||||
|
||||
useQueryStackedNotes()
|
||||
useComputeBacklinks()
|
||||
|
||||
const props = defineProps<{ user: string; repo: string }>()
|
||||
const routeKey = computed(() => `${props.user}-${props.repo}`)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<flux-note :key="routeKey" :user="user" :repo="repo" />
|
||||
</template>
|
||||
Reference in New Issue
Block a user