-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
6 changed files
with
296 additions
and
8 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"@quasar/qmarkdown": { | ||
"import_md": true, | ||
"import_vmd": false | ||
} | ||
} |
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,40 @@ | ||
<template> | ||
<q-page class="row items-center justify-evenly"> | ||
<q-markdown :src="md" class="col-10"></q-markdown> | ||
</q-page> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from 'vue'; | ||
import axios from 'axios'; | ||
export default Vue.extend({ | ||
name: 'PageChangelog', | ||
mounted() { | ||
this.$q.loading.show({ | ||
delay: 400 // ms | ||
}); | ||
document.title = 'Mirai Changelog'; | ||
axios | ||
.get( | ||
'https://raw.githubusercontent.com/Jabster28/mirai/master/CHANGELOG.md' | ||
) | ||
.then(res => { | ||
this.$q.loading.hide(); | ||
this.md = res.data; | ||
}) | ||
.catch(e => { | ||
this.$q.loading.hide(); | ||
console.log(e); | ||
this.$q.notify( | ||
'Hmm, something went wrong. Try again in a few moments.' | ||
); | ||
}); | ||
}, | ||
data() { | ||
return { | ||
md: '' | ||
}; | ||
} | ||
}); | ||
</script> |
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
Oops, something went wrong.
2a02307
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: