App.vue 652 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <!--<dv-full-screen-container id="app">-->
  3. <div id="app">
  4. <router-view />
  5. </div>
  6. <!--</dv-full-screen-container>-->
  7. </template>
  8. <script>
  9. export default {
  10. name: 'App',
  11. metaInfo() {
  12. return {
  13. title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
  14. titleTemplate: title => {
  15. return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
  16. }
  17. }
  18. }
  19. }
  20. </script>
  21. <style>
  22. html,body{
  23. margin:0;
  24. height:100%;
  25. width:100%;
  26. }
  27. #app{
  28. height:100%!important;
  29. width:100%!important;
  30. }
  31. </style>