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