Skip to content

Conversation

@rogaix
Copy link

@rogaix rogaix commented Aug 23, 2025

Added an exemplary user list view where users can be added and deleted. Gotten a little out of hand :D

@rogaix rogaix requested a review from schogges August 23, 2025 01:52
Copy link
Contributor

@schogges schogges Aug 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this is part of the components package. Did you use npx shadcn-vue@latest add toast to add the component? (ref: https://www.shadcn-vue.com/docs/components/toast.html)

Comment on lines +4 to +21
<div class="flex gap-2">
<Input
v-model="newName"
placeholder="Name"
class="flex-1"
/>
<Input
v-model="newEmail"
placeholder="Email"
class="flex-1"
/>
</div>
<Button
class="bg-slate-500 hover:bg-blue-400 text-white"
@click="createNewUser"
>
Create new user
</Button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use a native <form> for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants