webapp: Only include required icons to reduce file size

This commit is contained in:
Thomas Basler
2022-10-15 01:22:53 +02:00
parent d37543fd95
commit 024e16ee85
7 changed files with 78 additions and 8 deletions

View File

@@ -314,11 +314,23 @@
<script lang="ts">
import { defineComponent } from 'vue';
import InverterChannelInfo from "@/components/partials/InverterChannelInfo.vue";
import * as bootstrap from 'bootstrap';
import {
BIconXCircleFill,
BIconExclamationCircleFill,
BIconCheckCircleFill,
BIconSpeedometer,
BIconPower,
BIconCpu,
BIconJournalText,
BIconToggleOn,
BIconToggleOff,
BIconArrowCounterclockwise
} from 'bootstrap-icons-vue';
import EventLog from '@/components/partials/EventLog.vue';
import DevInfo from '@/components/partials/DevInfo.vue';
import BootstrapAlert from '@/components/partials/BootstrapAlert.vue';
import InverterChannelInfo from "@/components/partials/InverterChannelInfo.vue";
declare interface Inverter {
serial: number,
@@ -337,6 +349,16 @@ export default defineComponent({
EventLog,
DevInfo,
BootstrapAlert,
BIconXCircleFill,
BIconExclamationCircleFill,
BIconCheckCircleFill,
BIconSpeedometer,
BIconPower,
BIconCpu,
BIconJournalText,
BIconToggleOn,
BIconToggleOff,
BIconArrowCounterclockwise,
},
data() {
return {