I am using Konvajs/Vue-Konva within my Vuejs/Nuxt application. Using Konva I am creating the Rect shape dynamically at run time. I would like to know if there is a way to add a Text/Label within each of the shapes. I want to add a name to each of Shape so as to identify each of the Shape separately.
I have added my code sample here in CodeSandBox.
Can someone please let me know how can I add the Text/Label to each of the Rect/Shape that has been created using Vue-Konva