Member-only story
Mobile Development with Ionic and Vue — Footer, Button Group, and Text
2 min readJan 27, 2021
If we know how to create Vue web apps but want to develop mobile apps, we can use the Ionic framework.
In this article, we’ll look at how to get started with mobile development with the Ionic framework with Vue.
Footer
We can add a footer with Ionic Vue.
To do that, we use the ion-footer
component:
<template>
<ion-page>
<ion-content></ion-content>
<ion-footer>
<ion-toolbar>
<ion-title>Footer</ion-title>
</ion-toolbar>
</ion-footer>
</ion-page>
</template><script lang='ts'>
import {
IonContent,
IonFooter,
IonTitle,
IonToolbar,
IonPage,
} from "@ionic/vue";
import { defineComponent } from "vue";export default defineComponent({
components: { IonContent, IonFooter, IonTitle, IonToolbar, IonPage },
});
</script>
We can also add one with no border:
<template>
<ion-page>
<ion-content></ion-content>
<ion-footer class="ion-no-border">
<ion-toolbar>
<ion-title>Footer - No Border</ion-title>
</ion-toolbar>
</ion-footer>
</ion-page>
</template><script lang='ts'>
import {
IonContent,
IonFooter,
IonTitle…