Skip to content

Commit e2bb190

Browse files
committed
chore: update og
1 parent 236f137 commit e2bb190

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

docs/.vitepress/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ export default {
1616
'meta',
1717
{
1818
property: 'twitter:description',
19-
content: 'Tiny Vue Validate Composition',
19+
content: 'Tiny Vue validate Composition',
2020
},
2121
],
2222
[
2323
'meta',
2424
{
2525
property: 'og:image',
26-
content: 'https://vue-tiny-validate.js.org/og.png',
26+
content: 'https://vue-tiny-validate.js.org/og_.jpeg',
2727
},
2828
],
2929
[
3030
'meta',
3131
{
3232
property: 'twitter:image',
33-
content: 'https://vue-tiny-validate.js.org/og.png',
33+
content: 'https://vue-tiny-validate.js.org/og_.jpeg',
3434
},
3535
],
3636
],

docs/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Now that you've installed the library, let's get started with a basic usage guid
2323
<button v-on:click='result.$test'>Validate</button>
2424
</template>
2525

26+
<script>
2627
import { reactive } from 'vue';
2728
import useValidate from 'vue-tiny-validate';
2829

@@ -42,6 +43,7 @@ export default {
4243
return { result, data };
4344
}
4445
}
46+
</script>
4547
```
4648

4749
As you can see above, the `useValidate` composition requires 2 parameters `data` and `rules`.

docs/public/og_.jpeg

200 KB
Loading

docs/usage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<button v-on:click='result.$test'>Validate</button>
1313
</template>
1414

15+
<script>
1516
import { reactive } from 'vue';
1617
import useValidate from 'vue-tiny-validate';
1718

@@ -33,6 +34,7 @@ export default {
3334
return { result, data };
3435
}
3536
}
37+
</script>
3638
```
3739

3840
The `useValidate` composition requires 3 parameters: `data`, `rules` and `options`. `data` and `rules` are **mandatory**.

0 commit comments

Comments
 (0)