Repository navigation
Closed
stenciljs/output-targets
#630Labels
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When adding an IonNav component in a Vue component, some props that was not required before 8.4.3 became required, and make the type-check fail.
before :
import type { VNode } from "vue";
export declare const IonNav: import("vue").DefineComponent<unknown, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;After :
export declare const IonNav: import("vue").DefineSetupFnComponent<{
animated: boolean;
animation: Function;
root: any;
rootParams: any;
swipeGesture: boolean;
}, {}, {}, {
animated: boolean;
animation: Function;
root: any;
rootParams: any;
swipeGesture: boolean;
} & {}, import("vue").PublicProps>;Expected Behavior
The required props should be the same as before 8.4.3
Steps to Reproduce
- Create a Ionic + Vue project
- Add an IonNav component
- Type errors appear to add some required props
Code Reproduction URL
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/Users/ericlemaitre/.asdf/installs/nodejs/22.13.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 8.4.3
Capacitor:
Capacitor CLI : 7.0.1
@capacitor/android : not installed
@capacitor/core : 7.0.1
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v22.13.0 (/Users/ericlemaitre/.asdf/installs/nodejs/22.13.0/bin/node)
npm : 10.9.2
OS : macOS Unknown
Additional Information
No response
Reacted by Taylor Buchanan
Metadata
Metadata
Assignees
Labels
Type
Fields
No fields configured for issues without a type.
Activity
brandyscarney commentedon Mar 3, 2025
Thank you for the issue! We're currently investigating this, along with all other related Vue issues introduced in version 8.4.3.
fix(vue): update output target and resolve type issues (#30239)
ionitron-bot commentedon Apr 10, 2025
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.