Commit a7c65cbe authored by 终究还是我们队's avatar 终究还是我们队
Browse files

Delete UserManager.vue

parent bb02b43e
No related merge requests found
Showing with 0 additions and 36 deletions
+0 -36
<template>
<div>
<h1>User Manager</h1>
<ul>
<li v-for="user in users" :key="user.id">{{ user.username }}</li>
</ul>
</div>
</template>
<script>
export default {
name: 'UserManager',
data() {
return {
users: []
};
},
methods: {
fetchUsers() {
// Fetch users from backend
fetch('/api/users')
.then(response => response.json())
.then(data => {
this.users = data;
});
}
},
created() {
this.fetchUsers();
}
};
</script>
<style scoped>
/* Styles here */
</style>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment