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