[Vuejs]-How to print updated values of a composable in a vue-component

-1๐Ÿ‘

โœ…

i figured it out. i did not add state to data object.it should be added to data object in the vue-component as follows:

data() {
    return {
        state,
        ....
        ....
},

0๐Ÿ‘

You should not use composables out of setup()

Leave a comment