Vue.js Bootstrap Slider plugin for NUXT
Easily use Vue.js Bootstrap Slider in your Nuxt app
Setup
- Install from npm
npm install --save nuxt-bootstrap-slider
or use yarn - Add
nuxt-bootstrap-slider
to modules
section of nuxt.config.js'
modules: [
'nuxt-bootstrap-slider',
]
Usage
<template>
<div>
<b-form-slider :value="value"/>
<p>Slider has value {{ value }}</p>
</div>
</template>
<script>
export default {
data () {
return {
value: 5
}
}
}
</script>
See Vue.js Bootstrap Slider for a list of all available options