A Vue directive that will insert an image from a preloader into the dom.
npm install vue-image
A Vue directive that will insert an image from a preloader into the dom.
```
var Vue = require('vue');
Vue.use(require('vue-image'),{
assetPath: '',
preloader: require('preloader')
});
####clone####
``
Clone the image returned fromm preloader.getContent()
. Default is true. If set to false the same image for every directive that is returned from preloader.getContent()
is used and only one instance of the image can be present in the dom at one time.
####replace####
``
Replace the element with the image specified in the directive. If the directive element is an image than the default is true and probably should always be true. For any other element the default is false` and the image is inserted as a child of that element.

MIT, see LICENSE.md for details.