Demo and docs: https://incuca.github.io/ic-vslider/
unpkg.com provides NPM-based CDN links. The above link will always point to the latest release on NPM. You can also use a specific version/tag via https://unpkg.com/ic-vslider@TAG
Include ic-vslider after Vue and it will install itself automatically:
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/ic-vslider"></script>
$ npm install ic-vslider
$ yarn add ic-vslider
When used with a module system, you must explicitly install the ic-vslider
via Vue.use()
:
import Vue from 'vue'
import IcVslider from 'ic-vslider'
Vue.use(IcVslider)
You don't need to do this when using global script tags.
You will have to clone directly from GitHub and build ic-vslider
yourself if
you want to use the latest dev build.
$ git clone https://github.com//ic-vslider.git node_modules/ic-vslider
$ cd node_modules/ic-vslider
$ npm install
$ npm run build