ankurk91 / vue-loading-overlay

Vue.js component for full screen loading indicator :cyclone:
https://ankurk91.github.io/vue-loading-overlay/
MIT License
1.24k stars 101 forks source link

example without webpack #33

Closed doomiris closed 5 years ago

doomiris commented 5 years ago

could you please make a full example without webpack?

<!-- Vue js -->
<script src="https://cdn.jsdelivr.net/npm/vue@2.5/dist/vue.min.js"></script>
<!-- Lastly add this package -->
<script src="https://cdn.jsdelivr.net/npm/vue-loading-overlay@2"></script>
<link href="https://cdn.jsdelivr.net/npm/vue-loading-overlay@2/dist/vue-loading.min.css" rel="stylesheet">
<!-- Init the plugin and component-->
<script>
Vue.use(VueLoading);
Vue.component('loading', VueLoading)
</script>
ankurk91 commented 5 years ago

Do you know how to use vue.js without webpack? If yes, then you should be able to use this package too.

API is same for both. Readme file has everything you need.

I think you missed the js fiddle link in readme https://jsfiddle.net/ankurk91/w8y8k5wo/