Sharkey/src/client/app/common/views/widgets/version.vue
2018-03-29 20:32:18 +09:00

29 lines
441 B
Vue

<template>
<p>ver {{ version }} ({{ codename }})</p>
</template>
<script lang="ts">
import { 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>