App.vue 884 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <div id="app">
  3. <!--<img src="./assets/logo.png">-->
  4. <!--<div>-->
  5. <!--<p>-->
  6. <!--If iView is successfully added to this project, you'll see an-->
  7. <!--<code v-text="'<Button>'"></code>-->
  8. <!--below-->
  9. <!--</p>-->
  10. <!--<Button type="primary">Button</Button>-->
  11. <!--</div>-->
  12. <!--<HelloWorld msg="Welcome to Your Vue.js App"/>-->
  13. <router-view/>
  14. </div>
  15. </template>
  16. <script>
  17. import HelloWorld from './components/HelloWorld.vue'
  18. export default {
  19. name: 'app',
  20. components: {
  21. HelloWorld
  22. }
  23. }
  24. </script>
  25. <style>
  26. *{
  27. margin: 0;
  28. padding: 0;
  29. }
  30. html,body{
  31. width: 100%;
  32. height: 100%;
  33. overflow: hidden;
  34. }
  35. #app {
  36. font-family: 'Avenir', Helvetica, Arial, sans-serif;
  37. -webkit-font-smoothing: antialiased;
  38. -moz-osx-font-smoothing: grayscale;
  39. width: 100%;
  40. height: 100%;
  41. }
  42. </style>