vue-use-to-string
v1.0.0
Published
Vue 3 reactive conversion of any value to string
Maintainers
Readme
Installation
npm install vue-use-to-stringUsage
import { useToString } from 'vue-use-to-string'
import { ref } from 'vue'
const num = ref(123)
const str = useToString(num)
console.log(str.value) // '123'
num.value = 456
console.log(str.value) // '456'License
MIT
Extracted from VueUse for standalone use.
