-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2af4464
commit d64d4ac
Showing
3 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<div> | ||
<h1>Generation Logs</h1> | ||
<JsonViewer | ||
:value="data" | ||
:expand-depth=5 | ||
copyable | ||
sort | ||
/> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { onMounted, ref } from 'vue' | ||
// @ts-expect-error Lib does not have types | ||
import JsonViewer from 'vue-json-viewer' | ||
|
||
const data = ref({}) | ||
|
||
onMounted(async () => { | ||
try { | ||
const response = await fetch("manifest.log") | ||
data.value = await response.json() | ||
} catch (e) { | ||
console.error('Failed to load manifest.log', e) | ||
} | ||
}) | ||
</script> | ||
|
||
<style scoped> | ||
h1 { | ||
text-align: center; | ||
margin-bottom: 20px; | ||
} | ||
</style> |