vue-progressbar icon indicating copy to clipboard operation
vue-progressbar copied to clipboard

Usage without module / exports / RequireJS/AMD

Open bartrail opened this issue 7 years ago • 4 comments

It would be nice if you could add a fallback for a regular JavaScript usage with <script src="/js/vue-progressbar.js"></script> - meaning without any AMD loading / gulp/grunt preprocessing or ES6 features (like for IE10, Mobile Safari on iOS 9/10) ? Seems like its dependent on the module.export

bartrail avatar Aug 24 '17 14:08 bartrail

I second that.

soynomm avatar Aug 30 '17 11:08 soynomm

Thirded

bladefist avatar Sep 04 '17 14:09 bladefist

@bartrail @digitalbaboon @bladefist For regular Javascript usage it doesn't make much sense that a Vue-specific package should work, don't you agree? That being said, there are versions of this just for Javascript usage, my recommendation is nProgress.

malinbranduse avatar Jan 30 '18 09:01 malinbranduse

Generally speaking I'd agree. That said there are situations, uncommon or sub-optimal as they maybe, where it would be helpful (i.e. loading from a CDN like unpkg or jsdelivr).

I've submitted a PR if you're amicable to the change.

funkjedi avatar Mar 06 '18 20:03 funkjedi