misskey-awawa/src/client/app/common/views/widgets/version.vue

30 lines
458 B
Vue

<template>
<p>ver {{ version }} ({{ codename }})</p>
</template>
<script lang="ts">
import { clientVersion as version, codename } from '../../../config';
import define from '../../../common/define-widget';
export default define({
name: 'version'
}).extend({
data() {
return {
version,
codename
};
}
});
</script>
<style lang="stylus" scoped>
p
display block
margin 0
padding 0 12px
text-align center
font-size 0.7em
color #aaa
</style>