var Main = {
data() {
return {
input: ''
}
}
}
var Ctor = Vue.extend(Main)
new Ctor().$mount('#app')
<script src="//unpkg.com/vue/dist/vue.js"></script>
<script src="//unpkg.com/element-ui/lib/index.js"></script>
<div id="app">
<el-input v-model="input"></el-input>
</div>
@import url("//unpkg.com/element-ui/lib/theme-chalk/index.css");