create ionic project
// To uninstall ionic
npm uninstall -g ionic
// To install ionic
npm i -g @ionic/cli
// To create project with tabs with angular and capacitor
ionic start yourProject tabs --type=angular --capacitor
cd your project
// create authentication service
ionic g service services/authentication
//create storage service
ionic g service services/storage
// create intro page
ionic g page pages/intro
// create login page
ionic g page pages/login
// create auth guard
ionic g guard guards/auth --implement CanLoad
// create intro guard
ionic g guard guards/intro --implement CanLoad
// create autoLogin guard
ionic g guard guards/autoLogin --implement CanLoad
// To manage camera
npm i @capacitor/camera
// To use filesystem
npm i @capacitor/filesystem
// pwa
npm i @ionic/pwa-elements
// To use storage with angular
npm i @ionic/storage-angular
// To use storage with other than angular
npm i @ionic/storage
// For mobile devices you need to build first
ionic build
ionic cap add ios
ionic cap add android