Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 223 Bytes

index.md

File metadata and controls

18 lines (12 loc) · 223 Bytes
category
Utilities

useToString

Reactively convert a ref to string.

Usage

import { useToString } from '@vueuse/core'

const number = ref(3.14)
const str = useToString(number)

str.value // '3.14'