0.0.1 • Published 4 years ago
inovesaudechat.chat v0.0.1
inovesaudechat.chat
A component that says "HelloA" 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/inovesaudechat.chat"></script>
<script>
new Vue({ el: '#app' })
</script>
In a module system
Install the component with NPM:
npm install inovesaudechat.chat
Then import the component:
import Chat from 'inovesaudechat.chat'
And either globally register it for use in all components:
Vue.component(Chat, 'inovesaudechat.chat')
or locally register it for use in an individual component:
export default {
components: { Chat }
}
Usage
<!-- No props or content are necessary. -->
<hello-a></hello-a>
0.0.1
4 years ago