Advertisement
ramaadtyms

01 - First Code_App.vue

Feb 26th, 2021
1,104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <template>
  2.   <div id="app">
  3.     <img alt="Vue logo" src="./assets/logo.png">
  4.     <HelloWorld msg="Welcome to Your Vue.js App"/>
  5.   </div>
  6. </template>
  7.  
  8. <script>
  9. import HelloWorld from './components/HelloWorld.vue'
  10.  
  11. export default {
  12.   name: 'App',
  13.   components: {
  14.     HelloWorld
  15.   }
  16. }
  17. </script>
  18.  
  19. <style>
  20. #app {
  21.   font-family: Avenir, Helvetica, Arial, sans-serif;
  22.   -webkit-font-smoothing: antialiased;
  23.   -moz-osx-font-smoothing: grayscale;
  24.   text-align: center;
  25.   color: #2c3e50;
  26.   margin-top: 60px;
  27. }
  28. </style>
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement