🎨 Handle loading state for widgets

This commit is contained in:
Alicia Sykes
2021-12-13 22:40:35 +00:00
parent 0a4d021b4e
commit 5cb588a586
3 changed files with 129 additions and 90 deletions

View File

@@ -1,6 +1,5 @@
<template>
<LoadingAnimation v-if="loading" class="loader" />
<div v-else class="weather">
<div class="weather">
<!-- Icon + Temperature -->
<div class="intro">
<p class="temp">{{ temp }}</p>