feat: component base

This commit is contained in:
Corentin Thomasset 2021-02-13 19:55:45 +01:00
parent 02dafd6a2f
commit 6e0c369398
No known key found for this signature in database
GPG key ID: DBD997E935996158
17 changed files with 1482 additions and 1006 deletions

View file

@ -4,12 +4,14 @@
<v-col cols="12" lg="6">
<div class="tool-wrapper-info">
<h1>{{ config.title }}</h1>
<div class="spacer"></div>
<div class="description">{{ config.description }}</div>
<div class="spacer" />
<div class="description">
{{ config.description }}
</div>
</div>
<v-card flat>
<v-card-text class="pa-10">
<slot></slot>
<slot />
</v-card-text>
</v-card>
</v-col>
@ -19,7 +21,7 @@
<script lang="ts">
import {Component, Prop, Vue} from 'nuxt-property-decorator'
import {ToolConfig} from '~/components/Tool.vue'
import {ToolConfig} from '~/types/ToolConfig'
@Component
export default class ToolWrapper extends Vue {