mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-17 16:18:13 +09:00
30 lines
432 B
Vue
30 lines
432 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 = (this as any).os.instanceName;
|
|
|
|
Progress.start();
|
|
},
|
|
methods: {
|
|
loaded() {
|
|
Progress.done();
|
|
}
|
|
}
|
|
});
|
|
</script>
|