misskey/src/web/app/common/views/components/widgets/version.vue

29 lines
414 B
Vue
Raw Normal View History

2018-02-19 22:16:45 +01:00
<template>
<p>ver {{ v }} ( aoi)</p>
</template>
<script lang="ts">
import { version } from '../../../../config';
import define from '../../../../common/define-widget';
export default define({
name: 'version'
}).extend({
data() {
return {
v: version
};
}
});
</script>
<style lang="stylus" scoped>
p
display block
margin 0
padding 0 12px
text-align center
font-size 0.7em
color #aaa
</style>