vuejs-noty icon indicating copy to clipboard operation
vuejs-noty copied to clipboard

How to use with CDN ?

Open uranik777 opened this issue 2 years ago • 1 comments

How to use vuejs-noty in html file? I try add

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuejs-noty.min.js"></script>
<script>
	Vue.use(VueNoty);
</script>

but have error: ReferenceError: VueNoty is not defined

uranik777 avatar May 31 '22 04:05 uranik777

Vue.use(window['vuejs-noty'].default)

djdance avatar Feb 10 '23 09:02 djdance