Skip to content

How can we get compiled template work without .value #7758

Discussion options

You must be logged in to vote

The difference is where you are rendering the template inside CompKo's setup method, whereas the CompOk setup is returning the count and then it will compile the ref variable without its value property to the template. if you want to fix this issue, you have to move the template from setup, outside of it in CompKo
https://vuejs.org/api/composition-api-setup.html#usage-with-render-functions

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jourdain
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jourdain
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants