webapp: Reorganize .vue files
This commit is contained in:
parent
3f4ae6c69e
commit
66d296a97b
@ -40,7 +40,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import { BIconInfoSquare } from 'bootstrap-icons-vue';
|
||||
import BootstrapAlert from '@/components/partials/BootstrapAlert.vue';
|
||||
import BootstrapAlert from '@/components/BootstrapAlert.vue';
|
||||
|
||||
declare interface DevInfoData {
|
||||
valid_data: boolean,
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import FsInfo from "@/components/partials/FsInfo.vue";
|
||||
import FsInfo from "@/components/FsInfo.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -1,18 +1,18 @@
|
||||
import { createWebHistory, createRouter, RouteRecordRaw } from 'vue-router';
|
||||
import HomeView from '@/components/HomeView.vue'
|
||||
import AboutView from '@/components/AboutView.vue'
|
||||
import NetworkInfoView from '@/components/NetworkInfoView.vue'
|
||||
import SystemInfoView from '@/components/SystemInfoView.vue'
|
||||
import NtpInfoView from '@/components/NtpInfoView.vue'
|
||||
import NetworkAdminView from '@/components/NetworkAdminView.vue'
|
||||
import NtpAdminView from '@/components/NtpAdminView.vue'
|
||||
import MqttAdminView from '@/components/MqttAdminView.vue'
|
||||
import MqttInfoView from '@/components/MqttInfoView.vue'
|
||||
import InverterAdminView from '@/components/InverterAdminView.vue'
|
||||
import DtuAdminView from '@/components/DtuAdminView.vue'
|
||||
import FirmwareUpgradeView from '@/components/FirmwareUpgradeView.vue'
|
||||
import ConfigAdminView from '@/components/ConfigAdminView.vue'
|
||||
import SecurityAdminView from '@/components/SecurityAdminView.vue'
|
||||
import HomeView from '@/views/HomeView.vue'
|
||||
import AboutView from '@/views/AboutView.vue'
|
||||
import NetworkInfoView from '@/views/NetworkInfoView.vue'
|
||||
import SystemInfoView from '@/views/SystemInfoView.vue'
|
||||
import NtpInfoView from '@/views/NtpInfoView.vue'
|
||||
import NetworkAdminView from '@/views/NetworkAdminView.vue'
|
||||
import NtpAdminView from '@/views/NtpAdminView.vue'
|
||||
import MqttAdminView from '@/views/MqttAdminView.vue'
|
||||
import MqttInfoView from '@/views/MqttInfoView.vue'
|
||||
import InverterAdminView from '@/views/InverterAdminView.vue'
|
||||
import DtuAdminView from '@/views/DtuAdminView.vue'
|
||||
import FirmwareUpgradeView from '@/views/FirmwareUpgradeView.vue'
|
||||
import ConfigAdminView from '@/views/ConfigAdminView.vue'
|
||||
import SecurityAdminView from '@/views/SecurityAdminView.vue'
|
||||
|
||||
const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
|
||||
@ -122,7 +122,7 @@ import {
|
||||
BIconCheckCircle
|
||||
} from 'bootstrap-icons-vue';
|
||||
import * as bootstrap from 'bootstrap';
|
||||
import BootstrapAlert from "@/components/partials/BootstrapAlert.vue";
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import BootstrapAlert from "@/components/partials/BootstrapAlert.vue";
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -337,10 +337,10 @@ import {
|
||||
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";
|
||||
import EventLog from '@/components/EventLog.vue';
|
||||
import DevInfo from '@/components/DevInfo.vue';
|
||||
import BootstrapAlert from '@/components/BootstrapAlert.vue';
|
||||
import InverterChannelInfo from "@/components/InverterChannelInfo.vue";
|
||||
|
||||
declare interface Inverter {
|
||||
serial: number,
|
||||
@ -151,7 +151,7 @@ import {
|
||||
BIconPencil
|
||||
} from 'bootstrap-icons-vue';
|
||||
import * as bootstrap from 'bootstrap';
|
||||
import BootstrapAlert from "@/components/partials/BootstrapAlert.vue";
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
|
||||
declare interface Inverter {
|
||||
id: string,
|
||||
@ -227,7 +227,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import BootstrapAlert from "@/components/partials/BootstrapAlert.vue";
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -113,7 +113,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import BootstrapAlert from "@/components/partials/BootstrapAlert.vue";
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -24,10 +24,10 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import WifiStationInfo from "./partials/WifiStationInfo.vue";
|
||||
import WifiApInfo from "./partials/WifiApInfo.vue";
|
||||
import InterfaceNetworkInfo from "./partials/InterfaceNetworkInfo.vue";
|
||||
import InterfaceApInfo from "./partials/InterfaceApInfo.vue";
|
||||
import WifiStationInfo from "@/components/WifiStationInfo.vue";
|
||||
import WifiApInfo from "@/components/WifiApInfo.vue";
|
||||
import InterfaceNetworkInfo from "@/components/InterfaceNetworkInfo.vue";
|
||||
import InterfaceApInfo from "@/components/InterfaceApInfo.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -87,7 +87,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import BootstrapAlert from "@/components/partials/BootstrapAlert.vue";
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -50,7 +50,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import BootstrapAlert from "@/components/partials/BootstrapAlert.vue";
|
||||
import BootstrapAlert from "@/components/BootstrapAlert.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@ -25,10 +25,10 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import HardwareInfo from "@/components/partials/HardwareInfo.vue";
|
||||
import FirmwareInfo from "@/components/partials/FirmwareInfo.vue";
|
||||
import MemoryInfo from "@/components/partials/MemoryInfo.vue";
|
||||
import RadioInfo from "@/components/partials/RadioInfo.vue";
|
||||
import HardwareInfo from "@/components/HardwareInfo.vue";
|
||||
import FirmwareInfo from "@/components/FirmwareInfo.vue";
|
||||
import MemoryInfo from "@/components/MemoryInfo.vue";
|
||||
import RadioInfo from "@/components/RadioInfo.vue";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
Loading…
Reference in New Issue
Block a user