2018-09-13 10:51:20 +03:00
|
|
|
<template>
|
2018-12-18 18:50:11 +03:00
|
|
|
<v-toolbar dark app>
|
2018-10-28 17:47:23 +03:00
|
|
|
<v-toolbar-title>
|
|
|
|
<logo />
|
|
|
|
</v-toolbar-title>
|
2018-09-13 10:51:20 +03:00
|
|
|
<v-spacer></v-spacer>
|
2018-09-21 16:09:32 +03:00
|
|
|
<search-field />
|
2018-12-18 18:50:11 +03:00
|
|
|
<v-toolbar-items>
|
2018-09-22 23:12:08 +03:00
|
|
|
<v-btn
|
|
|
|
flat
|
|
|
|
v-on:click="getApi"
|
|
|
|
>
|
|
|
|
Login
|
|
|
|
</v-btn>
|
2018-09-13 10:51:20 +03:00
|
|
|
</v-toolbar-items>
|
|
|
|
</v-toolbar>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2018-12-18 18:50:11 +03:00
|
|
|
import Vue from 'vue'
|
|
|
|
import SearchField from 'client/components/Search.vue'
|
|
|
|
import Logo from 'client/components/Logo.vue'
|
|
|
|
import Component from 'vue-class-component'
|
|
|
|
import axios from 'axios'
|
2018-09-13 10:51:20 +03:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
components: {
|
2018-10-28 17:47:23 +03:00
|
|
|
SearchField,
|
|
|
|
Logo
|
2018-09-13 10:51:20 +03:00
|
|
|
}
|
|
|
|
})
|
2018-09-16 17:45:48 +03:00
|
|
|
export default class Toolbar extends Vue {
|
|
|
|
async getApi() {
|
|
|
|
const { data } = await axios.get('api');
|
|
|
|
}
|
|
|
|
}
|
2018-09-13 10:51:20 +03:00
|
|
|
</script>
|