descriptioncommandresources
install the latest version of the Ionic CLInpm install -g @ionic/cli 
Structure

src/index.tsx = main entry point
// POINTS TO THE ROOT IN public/index.html
ReactDOM.render(<App />, document.getElementById('root'));

public/index.html
<div id="root"></div>

https://ionicframework.com/docs/react/quickstart
Build blank App with capacitorCommand Format: $ ionic start [TEMPLATE] --type=[FRAMEWORK] --capacitor 
[TEMPLATES]sidemenu | A starting project with a side menu with navigation in the content area
blank | A blank starter project
list | A starting project with a list
my-first-app | An example application that builds a camera with gallery
conference | A kitchen-sink application that shows off all Ionic has to offe(Move up and down to reveal more choices)
These are the available templates
[FRAMEWORK]Angular | https://angular.io
React | https://reactjs.org
Vue | https://vuejs.org
These are the available frameworks
Files  
src/index.tsxmain entry point 
App.tsxThis is our first React component and will be used in the bootstrapping process for our React app 
   
Create App Examples:  
Agularionic start blankApp blank --type=angular --capacitor 
Reactionic start blankApp blank --type=react --capacitor 
Start The App  
Start Local Serverionc servehttps://ionicframework.com/docs/cli/commands/serve
Start Labionic labtest to see how it looks in IOS and Android
http://localhost:8200/
   
Create Pagesionic generate pages/[PAGENAME] 
exampleionic g page pages/addition 
exampleionic g page pages/movieDetails 
No spec.ts files--spec=falseUse this flag in your page command to avoid creating a spec.ts file
   
Create Services  
exampleionic g service services/movie 
   
Imports 
import React from 'react';we first must import React to use JSX. 
import { Route } from 'react-router-dom';We're importing Route, which is how we’ll match the app’s URL with the components we want to render 
import { IonApp, IonRouterOutlet } from '@ionic/react';  
import { IonReactRouter } from '@ionic/react-router';IonReactRouter is a component that wraps ReactRouter’s BrowserRouter component. It more or less behaves the same as BrowserRouter with a few differences 
import Home from './pages/Home';an example component called Home/tsx - This is a component that will be able to navigate to in our app 
Router  
<IonReactRouter>Example:<IonReactRouter>
<IonRouterOutlet>
<Route path="/home" component={Home} exact={true} />
<Route exact path="/" render={() => <Redirect to="/home" />} />
</IonRouterOutlet>
</IonReactRouter>
 
Another example of IonReactRouter<IonReactRouter>
<IonRouterOutlet>
<Route exact path="/home">
<Home />
</Route>
<Route exact path="/">
<Redirect to="/home" />
</Route>
</IonRouterOutlet>
</IonReactRouter>
 
React Data Binding: One thing that stands out is that in React, to do data-binding, the value is passed in curly braces ({}) (see above example of IonReactRouter 
   
Import specific Ionic components you will need to import in order to be used within inside a componentimport { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/react';<IonPage>
<IonHeader>
<IonToolbar>
<IonTitle></IonTitle>
</IonToolbar>
</IonHeader>
<IonContent fullscreen>
<IonHeader collapse="condense">
<IonToolbar>
<IonTitle size="large">Edwin Aquino - Resume</IonTitle>
</IonToolbar>
</IonHeader>
<ExploreContainer />
</IonContent>
</IonPage>
import a component from another componentimport ExploreContainer from '../components/ExploreContainer';import from src/components/ExploreContainer.tsx
<IonPage>When creating your own pages, don't forget to have IonPage be the root component for them. Having IonPage be the root component is important because it helps ensure transitions work properly as well as provides the base CSS the Ionic components rely on. 
Import ALL IONIC componentsimport * as IonComponents from '@ionic/react';import * as IonComponents from '@ionic/vue';
Component NameImport Text UsageHTML Component Usage
NOTE:Source: https://ionicframework.com/docs/api - API IndexGo to the official ionic page for the latest information about each component. This list is as of May 2021.
ion-action-sheetIonActionSheet<IonActionSheet>
ion-alertIonAlert<IonAlert>
ion-appIonApp<IonApp>
ion-avatarIonAvatar<IonAvatar>
ion-back-buttonIonBackButton<IonBackButton>
ion-backdropIonBackdrop<IonBackdrop>
ion-badgeIonBadge<IonBadge>
ion-buttonIonButton<IonButton>
ion-buttonsIonButtons<IonButtons>
ion-cardIonCard<IonCard>
ion-card-contentIonCardContent<IonCardContent>
ion-card-headerIonCardHeader<IonCardHeader>
ion-card-subtitleIonCardSubtitle<IonCardSubtitle>
ion-card-titleIonCardTitle<IonCardTitle>
ion-checkboxIonCheckbox<IonCheckbox>
ion-chipIonChip<IonChip>
ion-colIonCol<IonCol>
ion-contentIonContent<IonContent>
ion-datetimeIonDatetime<IonDatetime>
ion-fabIonFab<IonFab>
ion-fab-buttonIonFabButton<IonFabButton>
ion-fab-listIonFabList<IonFabList>
ion-footerIonFooter<IonFooter>
ion-gridIonGrid<IonGrid>
ion-headerIonHeader<IonHeader>
ion-imgIonImg<IonImg>
ion-infinite-scrollIonInfiniteScroll<IonInfiniteScroll>
ion-infinite-scroll-contentIonInfiniteScrollContent<IonInfiniteScrollContent>
ion-inputIonInput<IonInput>
ion-itemIonItem<IonItem>
ion-item-dividerIonItemDivider<IonItemDivider>
ion-item-groupIonItemGroup<IonItemGroup>
ion-item-optionIonItemOption<IonItemOption>
ion-item-optionsIonItemOptions<IonItemOptions>
ion-item-slidingIonItemSliding<IonItemSliding>
ion-labelIonLabel<IonLabel>
ion-listIonList<IonList>
ion-list-headerIonListHeader<IonListHeader>
ion-loadingIonLoading<IonLoading>
ion-menuIonMenu<IonMenu>
ion-menu-buttonIonMenuButton<IonMenuButton>
ion-menu-toggleIonMenuToggle<IonMenuToggle>
ion-modalIonModal<IonModal>
ion-navIonNav<IonNav>
ion-nav-linkIonNavLink<IonNavLink>
ion-noteIonNote<IonNote>
ion-pickerIonPicker<IonPicker>
ion-popoverIonPopover<IonPopover>
ion-progress-barIonProgressBar<IonProgressBar>
ion-radioIonRadio<IonRadio>
ion-radio-groupIonRadioGroup<IonRadioGroup>
ion-rangeIonRange<IonRange>
ion-refresherIonRefresher<IonRefresher>
ion-refresher-contentIonRefresherContent<IonRefresherContent>
ion-reorderIonReorder<IonReorder>
ion-reorder-groupIonReorderGroup<IonReorderGroup>
ion-ripple-effectIonRippleEffect<IonRippleEffect>
ion-routeIonRoute<IonRoute>
ion-route-redirectIonRouteRedirect<IonRouteRedirect>
ion-routerIonRouter<IonRouter>
ion-router-linkIonRouterLink<IonRouterLink>
ion-router-outletIonRouterOutlet<IonRouterOutlet>
ion-rowIonRow<IonRow>
ion-searchbarIonSearchbar<IonSearchbar>
ion-segmentIonSegment<IonSegment>
ion-segment-buttonIonSegmentButton<IonSegmentButton>
ion-selectIonSelect<IonSelect>
ion-select-optionIonSelectOption<IonSelectOption>
ion-skeleton-textIonSkeletonText<IonSkeletonText>
ion-slideIonSlide<IonSlide>
ion-slidesIonSlides<IonSlides>
ion-spinnerIonSpinner<IonSpinner>
ion-split-paneIonSplitPane<IonSplitPane>
ion-tabIonTab<IonTab>
ion-tab-barIonTabBar<IonTabBar>
ion-tab-buttonIonTabButton<IonTabButton>
ion-tabsIonTabs<IonTabs>
ion-textIonText<IonText>
ion-textareaIonTextarea<IonTextarea>
ion-thumbnailIonThumbnail<IonThumbnail>
ion-titleIonTitle<IonTitle>
ion-toastIonToast<IonToast>
ion-toggleIonToggle<IonToggle>
ion-toolbarIonToolbar<IonToolbar>
ion-virtual-scrollIonVirtualScroll<IonVirtualScroll>
RESOURCESIonic pages 
 https://www.javatpoint.com/ionic-camera 
css-utilitieshttps://ionicframework.com/docs/layout/css-utilities