
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
vue-disqus
Advanced tools
Vue component to integrate Disqus comments in your application, with support for SPA
Vue component to integrate Disqus comments in your application Vue.js, with support for SPA and Vue 2.*
$ npm install vue-disqus
For Vue 1.* use v1.0.2 -
npm install --save vue-disqus@1.0.2
.vue
filesvue-disqus
<template>
// omited (identifier and url are optional)
<div class="comments">
<vue-disqus shortname="your_shortname_disqus" :identifier="page_id" url="http://example.com/path"></vue-disqus>
</div>
</template>
<script>
import VueDisqus from 'vue-disqus/VueDisqus.vue'
export default {
// ...
components: {
VueDisqus
}
}
// ...
vue-disqus
var VueDisqus = require('vue-disqus')
<!-- Required Javascript -->
<script src="vue.js"></script>
<script src="node_modules/vue-disqus/vue-disqus.js"></script>
<!-- Assuming your view app is APP. -->
<body id="app">
<div class="comments">
<vue-disqus shortname="your_shortname_disqus"></vue-disqus>
</div>
</body>
Prop | Data Type | required | Description |
---|---|---|---|
shortname | String | true | Your shortname disqus. |
title | String | false | Title to identify current page. |
identifier | String | false | Your unique identifier |
sso_config | Object | false | Single sign-on (SSO) |
api_key | String | false | Your API key disqus |
remote_auth_s3 | String | false | implementation with Laravel/PHP |
language | String | false | Language overrides |
Event name | Description |
---|---|
ready | When Disqus is ready. This can be used to show a placeholder or loading indicator. |
See Event Handling.
FAQs
Vue component to integrate Disqus comments in your application, with support for SPA
We found that vue-disqus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.