When working on a weather display app and using Vue for learning purposes, I originally had the following expression that worked fine:
<div id="app" :class="typeof weather.main != 'undefined' && weather.main.temp < 16 ? '' : 'warm' ">
However, when I tried to change the expression to:
<div id="app" :class="typeof weather.main != 'undefined' && weather.main.temp < 16 ? '' : weather.main.temp < 18 ? 'chill' : weather.main.temp < 30 ? 'warm' : 'hot' ">
The app would compile without any errors, but nothing would load and the console remained blank.