Skip to content

Commit

Permalink
chore: updated package info
Browse files Browse the repository at this point in the history
  • Loading branch information
YannicEl committed Aug 8, 2023
1 parent 4d60147 commit 8485bee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
**/*.d.ts

**/CHANGELOG.md
**/README.md
**/pnpm-lock.yaml

**/.output
Expand Down
32 changes: 16 additions & 16 deletions packages/lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ Check out the [interactive documentation and demos](https://form.vuetils.dev/)
import { UField, UForm, email, minLength, required, useForm } from '@vuetils/form';
const form = useForm({
email: ['', [required, email]],
password: ['', [required, minLength(6)]],
email: ['', [required, email]],
password: ['', [required, minLength(6)]],
});
</script>
<template>
<UForm :form="form">
<UField>
Email:
<input type="email" name="email" />
</UField>
<UField>
Password:
<input type="password" name="password" />
</UField>
<button>Submit</button>
</UForm>
<UForm :form="form">
<UField>
Email:
<input type="email" name="email" />
</UField>
<UField>
Password:
<input type="password" name="password" />
</UField>
<button>Submit</button>
</UForm>
</template>
```

Refer to the [documentation](https://form.vuetils.dev/) for more details.

## 📄 License
## License

[MIT License](https://github.com/YannicEl/vue-useForm/blob/main/packages/lib/LICENSE) © 2023-PRESENT [Yannic Ellhotka](https://github.com/YannicEl)

0 comments on commit 8485bee

Please sign in to comment.