mirror of https://github.com/nocodb/nocodb
DarkPhoenix2704
2 months ago
2 changed files with 80 additions and 29 deletions
@ -1,26 +1,25 @@
|
||||
<script setup lang="ts"></script> |
||||
<script setup lang="ts"> |
||||
const releases = ref< |
||||
{ |
||||
body: string |
||||
id: string |
||||
published_at: string |
||||
}[] |
||||
>([]) |
||||
|
||||
const fetchReleaseNotes = async () => { |
||||
const response = await fetch('https://api.github.com/repos/nocodb/nocodb/releases') |
||||
const data = await response.json() |
||||
return data |
||||
} |
||||
|
||||
onMounted(async () => { |
||||
releases.value = await fetchReleaseNotes() |
||||
}) |
||||
</script> |
||||
|
||||
<template> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem /> |
||||
<FeedChangelogItem v-for="feed in releases" :key="feed.id" :date="feed.published_at" :body="feed?.body" /> |
||||
</template> |
||||
|
||||
<style scoped lang="scss"></style> |
||||
|
Loading…
Reference in new issue