0👍
You can put the asrange
method of initializing into mounted
...
...
<script>
import $ from 'jquery';
import 'jquery-asRange';
export default {
mounted(){
$(".range-example").asRange({
range: true,
limit: false,
tip: true,
});
}
}
</script>
- [Vuejs]-How do I import the bootstrap.min.js into Vue JS
- [Vuejs]-How to pass css module generated classes to components in Vue
Source:stackexchange.com