0.0.2 • Published 5 years ago

mo-ui-components.mo-image-upload v0.0.2

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

mo-ui-components.mo-image-upload

A component that says "MoImageUpload" with green 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-upload"></script>
<script>
new Vue({ el: '#app' })
</script>

In a module system

Install the component with NPM:

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

Then import the component:

import MoImageUpload from 'mo-ui-components.mo-image-upload'

And either globally register it for use in all components:

Vue.component(MoImageUpload, 'mo-ui-components.mo-image-upload')

or locally register it for use in an individual component:

export default {
components: { MoImageUpload }
}

Usage

<mo-image-upload></mo-image-upload>
0.0.2

5 years ago

0.0.1

5 years ago