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