lundi 15 mars 2021

Capacitor Framework - A cross-platform native runtime for web apps

 

Capacitor is an open source native runtime for building Web Native apps. Create cross-platform iOS, Android, and Progressive Web Apps with JavaScript, HTML, and CSS.

https://capacitorjs.com/
https://ionicframework.com/


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