You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/v1/vue.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import Form from '@forms.js/vue';
10
10
11
11
exportdefault {
12
12
components: {
13
-
Form,
13
+
'forms-js':Form,
14
14
},
15
15
data:function () {
16
16
return {
@@ -32,24 +32,24 @@ export default {
32
32
<template>
33
33
<div>
34
34
<h1>Demo Form</h1>
35
-
<Form:options="options"/>
35
+
<forms-js:options="options"/>
36
36
</div>
37
37
</template>
38
38
```
39
39
40
40
### Props
41
-
42
41
The component supports two props:
43
42
44
43
-`options: FormOptions` - <spanclass="badge warning">required</span> The form options (<ahref="https://formsjs.io/documentation/v1/form">see more</a>).
45
44
-`plugins: PluginSettings | PluginSettings[]` - if form needs to use any plugins you can pass them into the form through this options.
0 commit comments