47
rated 0 times
[
48]
[
1]
/ answers: 1 / hits: 33035
/ 7 Years ago, sun, march 12, 2017, 12:00:00
I have a vue component that uses template, I'd like to change it to use render function, I know createElement('h1', 'title'), but how to use it with something like 'select' with all the options? here is the template based component:
https://jsfiddle.net/aaoehLqe/
<div id=app>
<p>{{ message }}</p>
<myselect v-bind:option= option ></myselect>
{{option}}
</div>
More From » vue.js