Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use absolute vs relative import #1263

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -301,23 +301,23 @@ import {
unregisterActionCallback,
} from '@/libs/joystick/protocols/cockpit-actions'

import About from './components/About.vue'
import AltitudeSlider from './components/AltitudeSlider.vue'
import EditMenu from './components/EditMenu.vue'
import GlassButton from './components/GlassButton.vue'
import MiniWidgetContainer from './components/MiniWidgetContainer.vue'
import SlideToConfirm from './components/SlideToConfirm.vue'
import { useAppInterfaceStore } from './stores/appInterface'
import { useMainVehicleStore } from './stores/mainVehicle'
import { useWidgetManagerStore } from './stores/widgetManager'
import ConfigurationAlertsView from './views/ConfigurationAlertsView.vue'
import ConfigurationDevelopmentView from './views/ConfigurationDevelopmentView.vue'
import ConfigurationGeneralView from './views/ConfigurationGeneralView.vue'
import ConfigurationJoystickView from './views/ConfigurationJoystickView.vue'
import ConfigurationTelemetryView from './views/ConfigurationLogsView.vue'
import ConfigurationMissionView from './views/ConfigurationMissionView.vue'
import ConfigurationUIView from './views/ConfigurationUIView.vue'
import ConfigurationVideoView from './views/ConfigurationVideoView.vue'
import { useAppInterfaceStore } from '@/stores/appInterface'
import { useMainVehicleStore } from '@/stores/mainVehicle'
import { useWidgetManagerStore } from '@/stores/widgetManager'
import About from '@/components/About.vue'
import AltitudeSlider from '@/components/AltitudeSlider.vue'
import ConfigurationAlertsView from '@/views/ConfigurationAlertsView.vue'
import ConfigurationDevelopmentView from '@/views/ConfigurationDevelopmentView.vue'
import ConfigurationGeneralView from '@/views/ConfigurationGeneralView.vue'
import ConfigurationJoystickView from '@/views/ConfigurationJoystickView.vue'
import ConfigurationMissionView from '@/views/ConfigurationMissionView.vue'
import ConfigurationTelemetryView from '@/views/ConfigurationLogsView.vue'
import ConfigurationUIView from '@/views/ConfigurationUIView.vue'
import ConfigurationVideoView from '@/views/ConfigurationVideoView.vue'
import EditMenu from '@/components/EditMenu.vue'
import GlassButton from '@/components/GlassButton.vue'
import MiniWidgetContainer from '@/components/MiniWidgetContainer.vue'
import SlideToConfirm from '@/components/SlideToConfirm.vue'

const { showDialog, closeDialog } = useInteractionDialog()

Expand Down
14 changes: 7 additions & 7 deletions src/components/ConfigurationMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ import { useDisplay } from 'vuetify'

import { useMainVehicleStore } from '@/stores/mainVehicle'

import ConfigurationAlertsView from '../views/ConfigurationAlertsView.vue'
import ConfigurationDevelopmentView from '../views/ConfigurationDevelopmentView.vue'
import ConfigurationGeneralView from '../views/ConfigurationGeneralView.vue'
import ConfigurationJoystickView from '../views/ConfigurationJoystickView.vue'
import ConfigurationLogsView from '../views/ConfigurationLogsView.vue'
import ConfigurationMissionView from '../views/ConfigurationMissionView.vue'
import ConfigurationVideoView from '../views/ConfigurationVideoView.vue'
import ConfigurationAlertsView from '@/views/ConfigurationAlertsView.vue'
import ConfigurationDevelopmentView from '@/views/ConfigurationDevelopmentView.vue'
import ConfigurationGeneralView from '@/views/ConfigurationGeneralView.vue'
import ConfigurationJoystickView from '@/views/ConfigurationJoystickView.vue'
import ConfigurationLogsView from '@/views/ConfigurationLogsView.vue'
import ConfigurationMissionView from '@/views/ConfigurationMissionView.vue'
import ConfigurationVideoView from '@/views/ConfigurationVideoView.vue'

const store = useMainVehicleStore()

Expand Down
4 changes: 2 additions & 2 deletions src/views/WidgetsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import { type AsyncComponentLoader, defineAsyncComponent } from 'vue'
import { useWidgetManagerStore } from '@/stores/widgetManager'
import { WidgetType } from '@/types/widgets'

import SnappingGrid from '../components/SnappingGrid.vue'
import WidgetHugger from '../components/WidgetHugger.vue'
import SnappingGrid from '@/components/SnappingGrid.vue'
import WidgetHugger from '@/components/WidgetHugger.vue'

const store = useWidgetManagerStore()

Expand Down
Loading