mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 14:56:17 -04:00
30 lines
545 B
Vue
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>
|