lundi 15 mars 2021

IONIC Capacitor - Creating new application CMD - Android + iOS

 IONIC / CAPACITOR FRAMEWORK

MARCH, 2021, PC/MAC

==-=-=-=-=-=-=================

android:

ionic start
> angular
> project name: mtlxApp
> tabs
> adding capacitor:   Y (yes)
ionic build
npx cap add android
npx cap open android
>/src folder
ionic capacitor build android

ios:

ionic start
> angular
> project name: mtlxApp
> adding capacitor:  N (no)
npm install @capacitor/cli @capacitor/core
npx cap init
ionic build
sudo gem install cocoapods
npx cap add ios
>/src
ionic capacitor build ios

note:

<base href="/" /> in INDEX.HTML for orphelin project

Aucun commentaire:

Publier un commentaire