The composition API is 10x easier to use if you use the experiemental setup attribute.
‘’’
</setup><br>
‘’’</p>
<p>In this situation the script tag is the setup function and looks a like cleaner, you can try this in the ‘npm init vite’ Vue template which has this out of the box</p>
The composition API is 10x easier to use if you use the experiemental setup attribute.
‘’’
</setup><br> ‘’’</p> <p>In this situation the script tag is the setup function and looks a like cleaner, you can try this in the ‘npm init vite’ Vue template which has this out of the box</p>
Composition API is 10x more code soup than options API.