<ul id="list">
<li v-for="item in items">
{{ item }}
</li>
</ul>
html, body {
display: grid;
justify-content: center;
align-content: center;
height: 100%;
width: 100%;
}
const list = new Vue({
el: '#list',
data: {
items: ['Milk', 'Eggs', 'Bread']
}
})