0.0.1 • Published 6 years ago

vue-comments-plugin v0.0.1

Weekly downloads
2
License
GPL-3.0
Repository
-
Last release
6 years ago

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