vue-chatbox

0.0.5 • Public • Published

Vue ChatBox

A Vue component that adds a chatbox to your page.

This isn't particularly useful, it's used as a demo for how to publish Vue components to NPM!

Installation

npm install --save vue-chatbox

Browser

Include the script file, then install the component with Vue.use(VueChatbox); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-chatbox/dist/vue-chatbox.min.js"></script>
<script type="text/javascript">
  Vue.use(VueChatbox);
</script> 

Module

import VueChatbox from 'vue-chatbox';

Usage

Once installed, it can be used in a template as simply as:

<vue-chatbox></vue-chatbox>

Package Sidebar

Install

npm i vue-chatbox

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

327 kB

Total Files

11

Last publish

Collaborators

  • sriramveeraghanta