App.vue 936 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div id="root">
  3. <header role="banner">
  4. <div class="wrapper">
  5. <h1
  6. class="site-title"
  7. tabindex="0"
  8. >
  9. <router-link :to="{ name:'home' }">En Français</router-link>
  10. </h1>
  11. </div>
  12. </header>
  13. <section role="main-content">
  14. <div class="wrapper">
  15. <RouterView />
  16. </div>
  17. </section>
  18. <footer role="tools">
  19. </footer>
  20. </div>
  21. </template>
  22. <script>
  23. // import { mapActions, mapState } from 'vuex'
  24. export default {
  25. metaInfo: {
  26. // if no subcomponents specify a metaInfo.title, this title will be used
  27. title: 'Home',
  28. // all titles will be injected into this template
  29. titleTemplate: '%s | En Français',
  30. meta: [
  31. { charset: 'utf-8' },
  32. { name: 'viewport', content: 'width=device-width, initial-scale=1' }
  33. ]
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .container{
  39. max-width: 1200px;
  40. }
  41. </style>