display-img

Display images at web without a server.

Usage no npm install needed!

<script type="module">
  import displayImg from 'https://cdn.skypack.dev/display-img';
</script>

README

It is a Vue Component which enables you to display some local images on web page without uploading them and getting them from http url.

First, you need install it.Then import your entry file.

1. npm install display-img

2. import DisplayImg from 'display-img'

3. Vue.use(DisplayImg)

Then you could use it in your own Vue component straightly.