Installation cordova ionic
npm install -g cordova ionic
If the installation error
error because the installer is too much wall, the need over the wall
solution one: use Taobao mirror
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
re-install
Solution two: Reinstall the ladder after clearing the cache npm
$ npm cache clean --force
After installing the
start of new projects
ionic start Project Title Project Type (blank blank / tabs with tabs / sidemenu with navigation)
Example:
ionic start myapp sidemenu
Finally, the installation will need to log in (no account can Quguan network Register a)
and then do
ionic login
Log in again you can log in successfully;
then execute
cd myapp
ionic serve