it-tools/components/Tool.vue
2021-02-06 11:14:28 +01:00

30 lines
545 B
Vue

<script lang="ts">
import {Component, Vue} from 'nuxt-property-decorator'
import ToolWrapper from '~/components/ToolWrapper.vue';
interface ToolConfig {
title: string;
description: string;
}
export {ToolConfig}
@Component({components: {ToolWrapper}})
export default class Tool extends Vue {
public isTool = true;
public config: ToolConfig = {
title: 'Tool',
description: 'Tool description'
}
public head() {
const {title, description} = this.config
return {
title,
description
}
}
}
</script>