Notes About Ionic

Commands I Ran During Photo Gallery Tutorial

# Install NPM
sudo apt install npm
 
# Install Ionic command-line interface, native-run (for running apps on devices), and cordova-res (makes native icons/splashscreens?)
sudo npm install -g @ionic/cli native-run cordova-res
 
# Start with a tab-based project that uses React 
ionic start photo-gallery tabs --type=react --capacitor
 
# Change to project folder
cd photo-gallery
 
# Install some libraries we need
npm install @ionic/react-hooks @ionic/pwa-elements

User Tools