vue-netkg-counter

0.0.4 • Public • Published

Counter Net.kg component for Vue and Nuxt

release version npm version License: MIT dependences devDependences

Net.kg counter for SPA/SSR apps.

Add website and get counter ID

counter id

Install

npm install vue-netkg-counter --save

Usage

<script>
  import NetKG from 'vue-netkg-counter'
    
  export default {
    name: "AwesomeComponent",
    components: {
      NetKG,
    }
  }
</script> 

If you have the some problems with build, just try to import component directly

import NetKG from 'vue-netkg-counter/src/NetKG.vue'

If you need use it on multiply pages

import Vue from 'vue';
import NetKG from 'vue-netkg-counter';
 
Vue.component('net-kg-counter', NetKG);

Template area:

<template>
  <NetKG site-id="1234" />
</template>

Package Sidebar

Install

npm i vue-netkg-counter

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

11.4 kB

Total Files

7

Last publish

Collaborators

  • hinex