Skip to content
Snippets Groups Projects
App.vue 1.15 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>
        <div class="content-width">
          <router-view/>
        </div>
        <app-footer></app-footer>
      </div>
    </template>
    
    <script>
    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="../node_modules/bootstrap/less/bootstrap.less" lang="less"></style>
    <style src="./styles.css" lang="css"></style>
    
    <style>
    #app {
      text-align: center;
    
    }
    #app .content-width {
      margin: auto;
      width: 920px;
      max-width: 920px;
    }
    </style>