🚧 Nearly finished the weather widget

This commit is contained in:
Alicia Sykes
2021-12-03 16:56:33 +00:00
parent de97f562a1
commit 3f8b180553
2 changed files with 87 additions and 67 deletions

View File

@@ -11,18 +11,21 @@
:customStyles="displayData.customStyles"
>
<Clock v-if="widgetType === 'clock'" :options="widgetOptions" />
<Weather v-else-if="widgetType === 'weather'" :options="widgetOptions" />
</Collapsable>
</div>
</template>
<script>
import Clock from '@/components/Widgets/Clock.vue';
import Weather from '@/components/Widgets/Weather.vue';
import Collapsable from '@/components/LinkItems/Collapsable.vue';
export default {
name: 'Widget',
components: {
Collapsable,
Weather,
Clock,
},
props: {