Skip to content

Commit a526cb6

Browse files
committed
Update docs
1 parent 52dd53c commit a526cb6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ this.$dialog.confirm(message, options)
347347
// You can also set all your defaults at the point of installation.
348348
// This will be your global configuration
349349

350-
Vue.use(VuejsDialog, { // use VuejsDialog.default if installing inside script tag
350+
// use VuejsDialog.main.default if including via script tag
351+
Vue.use(VuejsDialog, {
351352
html: true,
352353
loader: true,
353354
okText: 'Proceed',
@@ -463,6 +464,7 @@ let vm = new Vue({
463464
464465
![Vuejs Dialog Plugin](./src/docs/img/custom-view.png?raw=true "Vuejs Dialog Plugin custom view demo")
465466
467+
[Here's a working fiddle](http://jsfiddle.net/godofbrowser/eywraw8t/187478/)
466468
467469
# License
468470

docs/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
ga('create', 'UA-105766420-1', 'auto');
1414
ga('send', 'pageview');
1515
</script>
16-
<link href="css/app.main.css?b56fe64993ce5cef3094" rel="stylesheet"></head>
16+
<link href="css/app.main.css?6674f9de4f06722b31c8" rel="stylesheet"></head>
1717
<body>
1818
<div id="app"></div>
1919
<script src="https://unpkg.com/[email protected]/dist/vue.min.js"></script>
20-
<script type="text/javascript" src="js/app.main.js?b56fe64993ce5cef3094"></script></body>
20+
<script type="text/javascript" src="js/app.main.js?6674f9de4f06722b31c8"></script></body>
2121
</html>

docs/js/app.main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/docs/components/app.vue

+2
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@
121121
<h4>
122122
<button class="button" @click="showDialogWithCustomView()">Custom View/Component</button>
123123
</h4>
124+
125+
<iframe width="100%" height="600" src="https://jsfiddle.net/godofbrowser/pktL3mjb/embedded/js,html,css,result/dark/" allowfullscreen="allowfullscreen" allowpaymentrequest frameborder="0"></iframe>
124126
</section>
125127
</main>
126128

0 commit comments

Comments
 (0)