ComponentBody.vue 322 B

12345678910111213141516171819202122232425
  1. <template>
  2. <div class="body">
  3. {{ title }}
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. title: "This is thee body"
  11. }
  12. }
  13. }
  14. </script>
  15. <style lang="sass" scoped>
  16. .body {
  17. width: 100%;
  18. height: 256px;
  19. line-height: 256px;
  20. text-align: center;
  21. background-color: green;
  22. }
  23. </style>