1<template>
2 <div id="app">
3 <ul>
4 <li v-for="user in users" :key="user.id">
5 {{user.name}}
6 </li>
7 </ul>
8 </div>
9</template>
10
11<script>
12import usersData from "./users.json";
13
14export default {
15 data() {
16 return {
17 users: usersData,
18 };
19 },
20};
21</script>