array length in vue code example Example: vue displaying a this.length {{ prefix && prefix.length ? prefix.length : 0 }}