HelloWorld.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <template>
  2. <div class="hello">
  3. <h1>{{ msg }}</h1>
  4. <p>
  5. For a guide and recipes on how to configure / customize this project,<br />
  6. check out the
  7. <a href="https://cli.vuejs.org" target="_blank" rel="noopener"
  8. >vue-cli documentation</a
  9. >.
  10. </p>
  11. <h3>Installed CLI Plugins</h3>
  12. <ul>
  13. <li>
  14. <a
  15. href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel"
  16. target="_blank"
  17. rel="noopener"
  18. >babel</a
  19. >
  20. </li>
  21. <li>
  22. <a
  23. href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-router"
  24. target="_blank"
  25. rel="noopener"
  26. >router</a
  27. >
  28. </li>
  29. <li>
  30. <a
  31. href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-vuex"
  32. target="_blank"
  33. rel="noopener"
  34. >vuex</a
  35. >
  36. </li>
  37. <li>
  38. <a
  39. href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint"
  40. target="_blank"
  41. rel="noopener"
  42. >eslint</a
  43. >
  44. </li>
  45. </ul>
  46. <h3>Essential Links</h3>
  47. <ul>
  48. <li>
  49. <a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a>
  50. </li>
  51. <li>
  52. <a href="https://forum.vuejs.org" target="_blank" rel="noopener"
  53. >Forum</a
  54. >
  55. </li>
  56. <li>
  57. <a href="https://chat.vuejs.org" target="_blank" rel="noopener"
  58. >Community Chat</a
  59. >
  60. </li>
  61. <li>
  62. <a href="https://twitter.com/vuejs" target="_blank" rel="noopener"
  63. >Twitter</a
  64. >
  65. </li>
  66. <li>
  67. <a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a>
  68. </li>
  69. </ul>
  70. <h3>Ecosystem</h3>
  71. <ul>
  72. <li>
  73. <a href="https://router.vuejs.org" target="_blank" rel="noopener"
  74. >vue-router</a
  75. >
  76. </li>
  77. <li>
  78. <a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a>
  79. </li>
  80. <li>
  81. <a
  82. href="https://github.com/vuejs/vue-devtools#vue-devtools"
  83. target="_blank"
  84. rel="noopener"
  85. >vue-devtools</a
  86. >
  87. </li>
  88. <li>
  89. <a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener"
  90. >vue-loader</a
  91. >
  92. </li>
  93. <li>
  94. <a
  95. href="https://github.com/vuejs/awesome-vue"
  96. target="_blank"
  97. rel="noopener"
  98. >awesome-vue</a
  99. >
  100. </li>
  101. </ul>
  102. </div>
  103. </template>
  104. <script>
  105. export default {
  106. name: "HelloWorld",
  107. props: {
  108. msg: String,
  109. },
  110. };
  111. </script>
  112. <!-- Add "scoped" attribute to limit CSS to this component only -->
  113. <style scoped lang="scss">
  114. h3 {
  115. margin: 40px 0 0;
  116. }
  117. ul {
  118. list-style-type: none;
  119. padding: 0;
  120. }
  121. li {
  122. display: inline-block;
  123. margin: 0 10px;
  124. }
  125. a {
  126. color: #42b983;
  127. }
  128. </style>