npm install -g angular-cli

ng new myApp

cd myApp

ng serve

'angular' 카테고리의 다른 글

visual studio code angular intellisense  (0) 2017.06.25
Json 바인딩  (0) 2017.03.01
ngModel 과 양방향 바인딩  (0) 2017.02.25
데이타 바인딩  (0) 2017.02.25
데이타 입출력  (0) 2017.02.25

SELECT A.EMPLOYEE_ID, A.FIRST_NAME, A.MANAGER_ID,

B.EMPLOYEE_ID, B.FIRST_NAME, B.MANAGER_ID

FROM EMPLOYEES A, EMPLOYEES B

WHERE A.MANAGER_ID = B.EMPLOYEE_ID;



SELECT A.EMPLOYEE_ID, A.FIRST_NAME, A.MANAGER_ID

FROM EMPLOYEES A

START WITH A.MANAGER_ID IS NOT NULL

CONNECT BY PRIOR A.MANAGER_ID = B.EMPLOYEE_ID;

'Oracle' 카테고리의 다른 글

튜닝 기본  (0) 2017.03.23
실행계획  (0) 2017.03.06
OVER PARTITION BY  (0) 2017.02.22
EXISTS  (0) 2017.02.21
EXPLAIN PLAN FOR  (0) 2017.02.20

npm install -g ionic cordova


ionic start --v2 myApp [blank,tabs,sidemenu]


cd myApp


ionic serve -c(콘솔로그) -l (앱크기에 맞게 보여줌)


페이지 추가

- ionic g page Login


Service(Provider) 설치

- ionic g provider HttpWithToken


3. Platform 생성하기

    ionic cordova platform

    ionic cordova platform add ios

    ionic cordova platform add android

    ionic cordova platform rm ios


4. cordova plugin 설치

/*
- ionic plugin add https://github.com/litehelpers/Cordova-sqlite-storage
- ionic plugin add cordova-plugin-inappbrowser
- ionic plugin add cordova-plugin-statusbar
- ionic plugin add cordova-plugin-splashscreen
- ionic plugin add cordova-plugin-whitelist
- www/index.html 의 head 태그에 다음을 삽입

<meta http-equiv="Content-Security-Policy" content="font-src * data:; img-src * data:; default-src * 'unsafe-eval' 'unsafe-inline'">

- ionic plugin add cordova-plugin-crosswalk-webview
- ionic plugin add cordova-plugin-wkwebview-engine

*/


$ ionic cordova plugin add cordova-plugin-fcm --save


5. google-service.json 파일을 config.xml 파일 경로와 같은 위치에 붙여넣는다.

6. plugins > cordova-plugin-fcm > src > android > gradle 에 추가


classpath 'com.google.gms:google-services:3.1.0'
apply plugin: 'com.google.gms.google-services'

7. 실행

/*

    ionic cordova run

    ionic cordova run ios

    ionic cordova run ios -lc

    ionic cordova run android -lc --address=localhost

    ionic cordova run android -lc -- -d

*/

ionic cordova run android

- gradle 빌드오류시 http://yjungcomp.tistory.com/52 설치

- cordova 삭제명령어 : ionic cordova platform rm browser/android/ios

Try install old version.
①npm uninstall -g cordova
②npm install -g cordova@6.5.0
③cordova platform add android



+ Recent posts