JSFiddle - React, Tailwind, and code Playground
by hakan
HTML
<script src="//unpkg.com/vue/dist/vue.js"></script>
<script src="//unpkg.com/[email protected]/lib/index.js"></script>
<div id="app">
<template>
<div class="block">
<el-slider v-model="value9" range="" show-stops :max="12" :format-tooltip="function(value) { return (value === 0 ? 'Januari-18' : 'Mars-19'); }" style="width:129px;" input-size="small">
</el-slider>
</div>
</template>
</div>
SCSS
@import url("//unpkg.com/[email protected]/lib/theme-chalk/index.css");
Babel + JSX
var Main = {
data() {
return {
value9: [4, 8]
}
}
}
var Ctor = Vue.extend(Main)
new Ctor().$mount('#app')