2 ms·
It can even be closer to React than that, especially with JSX render functions. You don't even need the view to name itself: export default Vue.extend({
by woogley 10y ago
It can even be closer to React than that, especially with JSX render functions. You don't even need the view to name itself:
export default Vue.extend({
props: ['text'],
render() {
return <div>I am a button <button>{this.text}</button></div>;
}
});
- welanes 10y agoUseful to know. Cheers.