mo-ui-components.mo-image-upload
v0.0.2
Published
A component that says "MoImageUpload" with green text.
Downloads
6
Readme
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>