JSFiddle - React, Tailwind, and code Playground
by mizobata
HTML
<script src="//unpkg.com/vue/dist/vue.js"></script>
<script src="//unpkg.com/[email protected]/lib/index.js"></script>
<div id="app">
<template>
<el-select v-model="value10" filterable="" allow-create="" default-first-option placeholder="Choose tags for your article">
<el-option v-for="item in options5" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</template>
</div>
SCSS
@import url("//unpkg.com/[email protected]/lib/theme-chalk/index.css");
Babel + JSX
var Main = {
data() {
return {
options5: [{
value: 'HTML',
label: 'HTML'
}, {
value: 'CSS',
label: 'CSS'
}, {
value: 'JavaScript',
label: 'JavaScript'
}],
value10: []
}
}
}
var Ctor = Vue.extend(Main)
new Ctor().$mount('#app')