1π
β
I donβt know the correct way to do this. But you can do it like this:
<div v-if="information.name !== undefined">{{information.name}}</div>
Note that just using v-if="information.name"
would not be correct.
Source:stackexchange.com