How to use the store value of vuex in the properties of vue template?

this is an example given on vuex"s official website, and it"s easy to understand

.
`,
  computed: {
    count () {
      return store.state.img
    }
  }
}

but it is not possible to write this way. How can you achieve this effect if you want to achieve it?

Mar.14,2021

use: src= "$store.state.img" or: src= "count"


whenever the data in the vue instance is used, use it before the properties in the html: bind

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39218-406f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39218-406f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?