Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions dist/plugin.js

Large diffs are not rendered by default.

37 changes: 15 additions & 22 deletions doc-site/dist/doc.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc-site/dist/style.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doc-site/dist/styles/style.css

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions doc-site/vue/chapters/APIAndReference.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
<div class="section-content">
<p>
Installing the library is the same as other Vue plugins,
in addition, you can provide the <span class="code">templates</span> option to provide localized error messages,
the interaction mode,
and the <span class="code">Promise</span> option to specify the promise library to use by <span class="code">$validate()</span> method.
in addition, you can provide the <span class="code">templates</span> option to provide localized error messages and
the interaction mode.
<pre><code class="language-javascript">import Promise from 'bluebird';
Vue.use(SimpleVueValidator, {templates: {...}, mode: 'interactive', Promise};</code></pre>
Vue.use(SimpleVueValidator, {templates: {...}, mode: 'interactive'};</code></pre>
</p>
<p>
You can also use <span class="code">SimpleVueValidator.mixin</span> if you don't won't to register SimpleVueValidator globally,
Expand Down Expand Up @@ -407,4 +406,4 @@ Vue.use(SimpleVueValidator, {templates: {...}, mode: 'interactive', Promise};</c
</p>
</div>
</div>
</template>
</template>
Loading