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