Socket
Book a DemoInstallSign in
Socket

vue-intense-debate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

vue-intense-debate

Vue component to integrate IntenseDebate commenting service in your application, with support for SPA

0.2.0
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

vue-intense-debate

Vue component to integrate IntenseDebate commenting service in your application, with support for SPA.

Installation

$ npm install vue-intense-debate --save

Usage

vue-intense-debate is a UMD module, which can be used as a module in both CommonJS and AMD module system. When in non-modular environment, VueIntenseDebate will be registered as a global variable.

Use in .vue components

<template>
  <div class="comments">
    <vue-intense-debate account="YOUR_INTENSE_DEBATE_ACCOUNT" pid="UNIQUE_PAGE_ID"></vue-intense-debate>
  </div>
</template>

<script>
  import VueIntenseDebate from 'vue-intense-debate/VueIntenseDebate'

  export default {
    // ...
    components: {
      VueIntenseDebate
    }
    // ...
  }
</script>

Use in CommonJS

var Vue = require('vue')
var VueIntenseDebate = require('vue-intense-debate')

var YourComponent = Vue.extend({
  // ...
  components: {
    'vue-intense-debate': VueIntenseDebate
  }
  // ...
})

Use in browsers

<head>
  <script src="node_modules/vue/dist/vue.js"></script>
  <script src="node_modules/vue-intense-debate/dist/vue-intense-debate.js"></script>
</head>
<body id="app">
  <div class="comments">
    <vue-intense-debate account="YOUR_INTENSE_DEBATE_ACCOUNT" pid="UNIQUE_PAGE_ID"></vue-intense-debate>
  </div>
  <script type="text/javascript">
    new Vue({
      el: '.comments',
      components: {
        'vue-intense-debate': VueIntenseDebate
      }
    })
  </script>
</body>

Props

PropData TyperequiredDescription
accountStringtrueYour IntenseDebate account.
pidStringtruePage ID or some unique value to identify the web page.

Build Setup

# install dependencies
npm install


# build
npm run build

License

MIT © Leo Deng

Keywords

vue

FAQs

Package last updated on 05 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.