fix(pfd): use correct Nuxt auto-import component names (FlightlabPfd*)

Nuxt auto-import prefixes component names based on directory path.
Components in app/components/flightlab/pfd/ are registered as
FlightlabPfd*, not Pfd*. Fixed in learn-pfd.vue and PfdContainer.vue.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
itsrubberduck
2026-02-20 23:28:39 +01:00
parent 36cd0c8b69
commit fcfa46c37a
2 changed files with 7 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ const headingWidth = computed(() => attSize.value + tapeWidth.value * 2)
top: `${speedTapePos.top}px`,
}"
>
<PfdSpeedTape
<FlightlabPfdSpeedTape
:speed="speed"
:width="tapeWidth"
:height="attSize"
@@ -98,7 +98,7 @@ const headingWidth = computed(() => attSize.value + tapeWidth.value * 2)
top: `${attitudePos.top}px`,
}"
>
<PfdAttitudeIndicator
<FlightlabPfdAttitudeIndicator
:pitch="pitch"
:bank-angle="bankAngle"
:size="attSize"
@@ -116,7 +116,7 @@ const headingWidth = computed(() => attSize.value + tapeWidth.value * 2)
top: `${altTapePos.top}px`,
}"
>
<PfdAltitudeTape
<FlightlabPfdAltitudeTape
:altitude="altitude"
:width="altTapeWidth"
:height="attSize"
@@ -134,7 +134,7 @@ const headingWidth = computed(() => attSize.value + tapeWidth.value * 2)
top: `${vsPos.top}px`,
}"
>
<PfdVerticalSpeed
<FlightlabPfdVerticalSpeed
:vertical-speed="verticalSpeed"
:width="vsWidth"
:height="attSize"
@@ -152,7 +152,7 @@ const headingWidth = computed(() => attSize.value + tapeWidth.value * 2)
top: `${headingPos.top}px`,
}"
>
<PfdHeadingIndicator
<FlightlabPfdHeadingIndicator
:heading="heading"
:width="headingWidth"
:height="headingHeight"

View File

@@ -172,7 +172,7 @@
<!-- 3D Aircraft Model -->
<div class="relative rounded-2xl overflow-hidden border border-white/5 bg-[#050a15] min-h-[200px]">
<ClientOnly>
<PfdAircraftModel
<FlightlabPfdAircraftModel
:pitch="fbw.state.pitch"
:bank-angle="fbw.state.bankAngle"
:heading="fbw.state.heading"
@@ -206,7 +206,7 @@
</Transition>
<!-- PFD Container -->
<PfdContainer
<FlightlabPfdContainer
:pitch="fbw.state.pitch"
:bank-angle="fbw.state.bankAngle"
:heading="fbw.state.heading"