vue-comments-plugin

0.0.1 • Public • Published

Comments Widget for Vue.js

Scrutinizer Code Quality Code Coverage Build Status

Thought as a general purpose comments widget based on Vue.js. Similar to Facebooks comments or Disqus.

THIS IS WORK IN PROGRESS!

It already works but there are things to improve and bugs to find and fix.

Usage

Load the VueComments plugin and VeeValidate, it will register everything that is required.

import Vue from 'vue';
import VeeValidate from 'vee-validate';
import VueComments from 'vue-comments';
 
Vue.use(VeeValidate);
Vue.use(VueComments);
 
var vueApp = new Vue({
    el: '#vue-app',
    data: {}
});

Use it inside your applications markup:

<h3>Comments</h3>
<comments-widget
    model="SocialObject"
    model-id="1">
</comments-widget>

Building and Development

Build a dist

yarn install
yarn run build
yarn run watch

Run yarn run for additional scripts.

License

Copyright Florian Krämer

GPL 3.0

Package Sidebar

Install

npm i vue-comments-plugin

Weekly Downloads

1

Version

0.0.1

License

GPL-3.0

Unpacked Size

335 kB

Total Files

44

Last publish

Collaborators

  • burzum793