default.vue 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <template>
  2. <v-app>
  3. <base-app-bar />
  4. <base-drawer />
  5. <v-content>
  6. <v-container fluid class="pt-0">
  7. <nuxt />
  8. </v-container>
  9. </v-content>
  10. <v-footer :fixed="fixed" app>
  11. <span>&copy; {{ new Date().getFullYear() }}</span>
  12. </v-footer>
  13. </v-app>
  14. </template>
  15. <script lang="ts">
  16. import Vue from 'vue'
  17. import BaseDrawer from '~/components/base/Drawer.vue'
  18. import BaseAppBar from '~/components/base/AppBar.vue'
  19. export default Vue.extend({
  20. components: {
  21. BaseDrawer,
  22. BaseAppBar
  23. },
  24. data() {
  25. return {
  26. clipped: false,
  27. drawer: false,
  28. fixed: false,
  29. items: [
  30. {
  31. icon: 'mdi-apps',
  32. title: 'Welcome',
  33. to: '/'
  34. },
  35. {
  36. icon: 'mdi-chart-bubble',
  37. title: 'Inspire',
  38. to: '/inspire'
  39. }
  40. ],
  41. miniVariant: false,
  42. right: true,
  43. rightDrawer: false,
  44. title: 'Vuetify.js'
  45. }
  46. }
  47. })
  48. </script>
  49. <style>
  50. .v-content {
  51. background-color: #f9f9f9;
  52. }
  53. </style>