📦 Modifies how widgets are compiled
This commit is contained in:
23
src/components/Widgets/Blank.vue
Normal file
23
src/components/Widgets/Blank.vue
Normal 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>
|
||||
Reference in New Issue
Block a user