Skip to content

Commit 0e6962d

Browse files
Chantouch SekChantouch Sek
authored andcommitted
chore(update): 📝 update readme
1 parent e77d52b commit 0e6962d

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This package helps you quickly to build requests for REST API. Move your logic a
1212

1313
Wouldn't it be great if you could just use your back end to validate forms on the front end? This package provides a
1414
`BaseProxy` class that does exactly that. It can post itself to a configured endpoint and manage errors. The class
15-
is meant to be used with a Laravel back end and it doesn't limit that you need only to work with laravel, Ruby on
15+
is meant to be used with a Laravel back end, and it doesn't limit that you need only to work with laravel, Ruby on
1616
Rail, NodeJs, ExpressJs, or any other languages.
1717

1818
Take a look at the [usage section](#usage) to view a detailed example on how to use it.
@@ -51,7 +51,8 @@ export default {
5151
```
5252

5353
### Note:
54-
`baseURL` is required. <br />
54+
`baseURL` is required.
55+
5556
You can define `baseURL` at .env just one of them
5657
```bash
5758
API_URL=http://localhost::3000/api
@@ -107,7 +108,7 @@ Validator | Description
107108
**fill(errors = {})** | fill the errors object.
108109
**flush()** | clear all errors.
109110
**clear(field)** | clear specific error by field name.
110-
**onKeydown(event)** | event to clear error by event.target.name. (input the has name).
111+
**onKeydown(event, 'baseFormName')** | event to clear error by event.target.name. (input the has name).
111112

112113
## Using with Vuex
113114

@@ -322,7 +323,6 @@ Method | Description
322323
label="First name"
323324
required
324325
name="firstname"
325-
@focus="validate"
326326
/>
327327
</v-col>
328328
<v-col cols="12" md="4">

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
"husky": {
4343
"hooks": {
4444
"pre-commit": "npm run lint && npm test",
45-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
46-
"pre-push": "npm run lint && npm test"
45+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
4746
}
4847
},
4948
"devDependencies": {

0 commit comments

Comments
 (0)