Sharkey/src/client/app/common/views/widgets/version.vue
syuilo 12286f4915
🎨
2018-12-30 13:19:06 +09:00

30 lines
478 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 var(--text)
opacity 0.8
</style>