ionic-vue

Guide Ionic Vue projects through IonPage, IonRouterOutlet, and IonTabs navigation patterns.

37|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/capawesome-team/skills --skill ionic-vue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ionic-vue
Source: https://github.com/capawesome-team/skills/tree/main/skills/ionic-vue
Command: npx skills add https://github.com/capawesome-team/skills --skill ionic-vue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers implement Ionic Vue architecture patterns for scalable, maintainable apps by standardizing project structure, components, and navigation.

Core Features & Use Cases

  • Provides guidance on using IonPage, IonRouterOutlet, and IonTabs for consistent page lifecycles.
  • Covers Vue Router integration, Ionic composables (useIonRouter, onIonViewWillEnter, etc.), and platform detection patterns.
  • Useful for building cross-platform Ionic Vue apps that follow best practices and troubleshooting common Vue-specific issues.

Quick Start

Follow the guide to scaffold an Ionic Vue project and apply the patterns described to build pages with IonPage and router-based navigation.

Frequently Asked Questions about ionic-vue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Ionic Vue routing with IonRouterOutlet and IonTabs?

Ionic Vue routing uses IonRouterOutlet for navigation stack management and IonTabs for tab-based interfaces. Wrap page components in IonPage to ensure consistent lifecycle hooks and proper transition animations across web and native platforms.

Do I need to use IonPage for every screen in an Ionic Vue app?

Yes, IonPage is required for every routed screen to enable Ionic Vue lifecycle hooks and transitions. Using IonPage as the root component ensures proper view lifecycle management and correct integration with IonRouterOutlet navigation.

How do Ionic Vue lifecycle hooks like onIonViewWillEnter work?

Ionic Vue lifecycle hooks such as onIonViewWillEnter trigger when navigating to a page wrapped in IonPage. These composables manage view-specific logic separately from standard Vue component mounting and unmounting cycles.

What is the best way to handle navigation in Ionic Vue instead of Vue Router?

Use the useIonRouter composable for Ionic Vue navigation to ensure proper transition animations and platform-aware behavior. While Vue Router manages routes, useIonRouter handles the native-style navigation stack and transitions.

Can I use Ionic Vue composables for platform detection across web and native?

Yes, Ionic Vue provides composables that detect the current platform to apply specific logic for web and native environments. These patterns ensure your cross-platform app adapts its behavior correctly across different deployment targets.

Why are my Ionic Vue page transitions not working correctly?

Page transitions fail when screens lack the IonPage root component or use standard Vue Router navigation instead of useIonRouter. Ensure explicit component imports from @ionic/vue and wrap every routed page in IonPage.