mizzkey/src/client/app/common/views/widgets/version.vue
2019-02-18 04:52:40 +09:00

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