Installing Ionic
井民全, Jing, mqjing@gmail.com
Install node manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# open new terminal nvm install --lts # install node, LTS version nvm alias default lts/* # setup default node as the installed node
# check node -v which npm |
Install the Ionic CLI
npm uninstall -g ionic # uninstall previous install npm install -g @ionic/cli |
Start an App
Template available:
tabs: A tabs based layout
sidemenu: A sidemenu based layout
blank: An empty project with a single page
Run the App

Reference
https://ionicframework.com/docs/intro/cli