Package Exports
- vue-loaders
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-loaders) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Vue Loaders
Vue component wrappers for Loaders.css.
Install
npm install -S vue-loaders
Usage
import Vue from 'vue';
import VueLoaders from 'vue-loaders';
import 'vue-loaders/dist/VueLoaders.css';
Vue.use(VueLoaders);
// or
Vue.component(VueLoaders.BallBeat.name, VueLoaders.BallBeat);
Vue.component(VueLoaders.BallZigZigDeflect.name, VueLoaders.BallZigZigDeflect);
// ..etc
<!DOCTYPE html>
<html>
<head>
<title>VueLoaders demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-loaders"></script>
<link rel="stylesheet" href="https://unpkg.com/vue-loaders/dist/VueLoaders.css">
</head>
<body>
<div id="app">
<ball-pulse-loader color="#000000" size="20px"></ball-pulse-loader>
</div>
<script>
Vue.use(VueLoaders);
new Vue().$mount('#app');
</script>
</body>
</html>