App.vue 1.01 KB
Newer Older
1
2
<template>
  <div id="app">
3
    <app-header v-bind:modules="modules" v-bind:user="user"></app-header>
4
    <router-view/>
5
6
7
8
9
    <app-footer></app-footer>
  </div>
</template>

<script>
10
11
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
12
13
14
15
16
17
18
19
20
21
22
23
import header from './components/Header.vue'
import footer from './components/Footer.vue'

export default {
  name: 'app',
  components: {
    'app-header': header,
    'app-footer': footer
  },
  data () {
    return {
      'modules': [
24
        { slug: 'home', title: 'Home' },
25
        { slug: 'shows', title: 'Sendungen verwalten' },
26
27
        { slug: 'files', title: 'Dateien und Playlists' },
        { slug: 'settings', title: 'Settings' },
28
29
        { slug: 'credits', title: 'Credits' },
        { slug: 'debug', title: 'Debug' }
30
31
32
      ],
      'user': {
        name: 'jackie',
33
        logged_in: true
34
35
36
37
38
39
40
41
      }
    }
  }
}
</script>

<style>
#app {
42
  color: #2e3436;
43
}
44
/*
45
46
47
48
49
#app .content-width {
  margin: auto;
  width: 920px;
  max-width: 920px;
}
50
*/
51
</style>