0.0.4 • Published 5 years ago

mo-ui-components.mo-image-preview v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

mo-ui-components.mo-image-preview

A component that says "MoImagePreview" with orange text.

Installation

Directly in the browser

Drop the component in with a <script> tag alongside Vue:

<div id="app">
<!-- ... use component here ... -->
</div>

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/mo-ui-components.mo-image-preview"></script>
<script>
new Vue({ el: '#app' })
</script>

In a module system

Install the component with NPM:

npm install mo-ui-components.mo-image-preview

Then import the component:

import MoImagePreview from 'mo-ui-components.mo-image-preview'

And either globally register it for use in all components:

Vue.component(MoImagePreview, 'mo-ui-components.mo-image-preview')

or locally register it for use in an individual component:

export default {
components: { MoImagePreview }
}

Usage

<mo-image-preview></mo-image-preview>
0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago