Coding task · Vue.js course · Module 14: Directives & Plugins

Practice: Render Function with h()

Create a Counter component using defineComponent and a render function instead of a template.

Task

Implement a Counter with ref count and a render function returning h() with +1 and Reset buttons.