Skip to content
Snippets Groups Projects
App.vue 1.14 KiB
Newer Older
  • Learn to ignore specific revisions
  • <template>
      <div id="app">
        <app-header v-bind:modules="modules" v-bind:activeModule="activeModule" v-bind:user="user"></app-header>
    
          <router-view/>
        </div>
        <app-footer></app-footer>
      </div>
    </template>
    
    <script>
    
    import 'bootstrap/dist/css/bootstrap.css'
    import 'bootstrap-vue/dist/bootstrap-vue.css'
    
    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': [
    
            { slug: 'home', title: 'Home' },
    
            { slug: 'shows', title: 'Sendungen verwalten' },
    
            { slug: 'files', title: 'Dateien und Playlists' },
            { slug: 'settings', title: 'Settings' },
            { slug: 'credits', title: 'Credits' }
    
    <style src="./styles.css" lang="css"></style>
    
    #app .content-width {
      margin: auto;
      width: 920px;
      max-width: 920px;
    }