0👍
✅
If you add a v-if
on the span
element the error should go away.
The if
should only check coins.DISPLAY
as going further down the chain will generate the same error.
<span class="price" v-if="coins.DISPLAY">{{ coins.DISPLAY.BTC.USD.PRICE }}</span>
Here’s a fiddle with a complete example.
Source:stackexchange.com