Scan.vue 898 Bytes
Newer Older
1
<template>
2
  <div>
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
    <div class="ui vertical stripe segment">
      <library-form @scanned="updateLibraryData"></library-form>
      <library-card v-if="libraryData" :library-data="libraryData"></library-card>
    </div>
    <div class="ui vertical stripe segment">
    </div>
  </div>
</template>

<script>
// import axios from 'axios'
import TrackTable from '@/components/audio/track/Table'
import RadioButton from '@/components/radios/Button'
import Pagination from '@/components/Pagination'
import LibraryForm from '@/components/federation/LibraryForm'
import LibraryCard from '@/components/federation/LibraryCard'

export default {
  components: {
    TrackTable,
    RadioButton,
    Pagination,
    LibraryForm,
    LibraryCard
  },
  data () {
    return {
      libraryData: null
    }
  },
  methods: {
    updateLibraryData (data) {
      this.libraryData = data
    }
  }
}
</script>