My Ionic 5 project to test some syntax, chores and plugins
Requirements: Node.js, native IDE (Android Studio/XCode) and Ionic CLI
- Clone the project:
git clone https://github.com/g-otn/ionic5-capacitor-test.git
cd ionic5-capacitor-test
- Install project dependencies:
npm i
- Build ionic project, create the native project folder, and copy web assets:
- You may need to specify the path to your native IDE at
capacitor.config.json
. An error will give instructions if needed
- You may need to specify the path to your native IDE at
ionic capacitor run <platform>
# or
ionic capacitor run <platform> -l --external
- Open your native IDE (if not already opened automatically) to the project's
android
/ios
folder - Select a device/emulator and run the app