📦 Modifies how widgets are compiled

This commit is contained in:
Alicia Sykes
2021-12-21 21:34:58 +00:00
parent f243d9b916
commit 7a63fdc6c7
2 changed files with 75 additions and 272 deletions

View File

@@ -0,0 +1,23 @@
<template>
<div class="placeholder-widget">
<p>Error finding and mounting specified widget</p>
</div>
</template>
<script>
import WidgetMixin from '@/mixins/WidgetMixin';
export default {
mixins: [WidgetMixin],
mounted() {
this.error('Unable to render widget of specified type');
},
};
</script>
<style scoped lang="scss">
.placeholder-widget p {
color: var(--danger);
font-weight: bold;
}
</style>