Get your own Vue server Result Size: 625 x 565
App.vue
FoodItem.vue
main.js
 
<template>
  <h1>Food</h1>
  <food-item/>
  <food-item/>
  <food-item/>
</template>

<script></script>

<style>
  #app > div {
        border: dashed black 1px;
        display: inline-block;
        margin: 10px;
        padding: 10px;
        background-color: lightgreen;
    }
</style>                  
http://localhost:5173/