mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 11:13:08 +02:00
29 lines
412 B
Vue
29 lines
412 B
Vue
<template>
|
|
<mk-ui>
|
|
<mk-home :mode="mode" @loaded="loaded"/>
|
|
</mk-ui>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
import Progress from '../../../common/scripts/loading';
|
|
|
|
export default Vue.extend({
|
|
props: {
|
|
mode: {
|
|
type: String,
|
|
default: 'timeline'
|
|
}
|
|
},
|
|
mounted() {
|
|
document.title = 'Misskey';
|
|
|
|
Progress.start();
|
|
},
|
|
methods: {
|
|
loaded() {
|
|
Progress.done();
|
|
}
|
|
}
|
|
});
|
|
</script>
|