Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- last stable version
- npm install -g ionic@rc
- git config --global --list
- ionic --help
- ionic help
- ionic login
- ionic logout
- md \ionic
- cd \ionic
- ionic start {Entrer}
- ? Project name my-first-app
- ? Install the free Ionic Pro SDK and connect your app ?
- > npm i --save -E @ionic/pro
- ? Please enter a name for your new app : MyFirstApp
- ? Host Github or Ionic pro
- SSH
- >ionic config set pro_id "xxxxxx" -json
- >ionic git remote
- >git remote add ionic git@git.ionicjs.cod:mmoisei/myfirstapp.get
- >git add -A
- >git commit -m "Initial commit" --no-gpg-sign
- // Example
- npm install -E rxjs
- ionic serve
- Stop
- Ctrl+c
- ionic start --help
- ionic start --list
- --nogit --nolink
- ionic start arhiblank blank --nogit --nolink
- npm install
- ionic serve --address 192.168.12.222 --port 24601
- ionic serve --address 192.168.12.222 --port 24601 --noopen
- Ionic DevApp
- Drifty
- ionic generate --list
- use --export always
- git init
- // staging the commit
- git add .
- git commit -m "Initial commit"
- ionic g pg Plan --flat --styleext=css --spec=false --route-path=plan --dry-run --prefix=cont
- In VS code (control source) M-modified file U-untracked file(new)
- click on M - and seen changes
- ionic g i IWord
- ionic g s Word --spec false --flat false
- ionic g c randomWord --inline-style --inline-template --dry-run
- ionic g c randomWord --inline-style --inline-template --export
- npx ng doc component
- npx ng doc -s component
- npx ng lint
- click on error to modify
- // run all test
- npx ng test
- // test
- npx ng e2e
- // script name xxxx can be
- prexxxx
- xxxx
- postscript
- Ex:
- "pretest" : "npm run lint",
- "test":"ng test"
- Ex:
- "prestart": "npm run lint",
- "start":"ionic serve --no-open",
- On Windows use
- npm install -D npm-run-all
- then use
- run-s = run sequential
- run-p = run parallel
- "alltest": 'run-s test e2e'
- ionic doctor check
- then if find something
- ionic doctor treat
- ionic config get pro_id
- ionc confog get npmClient --global
Add Comment
Please, Sign In to add comment