currently i am rewriting my Vue 3 application to use the Composition API and I have a problem rewriting
methods: {
isDataValid() {
if (this.$refs.data.$refs.cost.enabled) {
return this.$refs.data.$refs.cost.$refs.module.dataValid();
}
}
}
From the Vue Official Template Refs Docs I know I have to create a ref and assign it to the corresponding component but I do not understand how to do it in my special case with nested refs. The child components still use the Options API, how can I archive the rewriting for my case?