Hello , is it possible to install this plugin with direct cdn link ?
Tried to use
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.min.js"></script>
Vue.use(VModal);
Tnx for any answer.
Hi, after reading other issue and back to docs, used :
Vue.use(window["vue-js-modal"].default);
Which helped but code still fails on
Cannot read property 'show' of undefined
from
this.$modal.show('hello-world');
Ok, sry for bothering ;)
Got it working, tnx much for neat plugin!
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.min.js"></script>
Vue.use(window["vue-js-modal"].default);
In template
<modal name="hello-world">
hello, world!
</modal>
In component
methods: {
confirmPassengersAndAcceptQuote: function (resort) {
let thisInCustomVariable = this;
thisInCustomVariable.$modal.show('hello-world');
(worked in chrome/ff/IE10)

fyi ^
Hi. I can't seem to get pinpoint where all this documentation is being referenced when working with this plugin using CDN. Where is this file/Readme on Bower that you are referencing above?
Most helpful comment
Ok, sry for bothering ;)
Got it working, tnx much for neat plugin!
In template
In component
(worked in chrome/ff/IE10)