npm uninstall -g ionic # uninstall if ionic is installed
npm install -g @ionic/cli@latest # install
npm install --save-dev node-sass sass-loader # Scss Loader
npm install -g @vue/cli # Vue Cli
npm install -g http-server # http server
npm install --save-dev colors # for deploy command
npm install --save-dev iconv-lite # for deploy command
ionic serve # run server
ionic serve -lab # run server for ios and android
ionic build --prod # Build the application for production
ionic build --aot # Perform ahead-of-time compilation for this build
ionic build --minifyjs # Minify JS for this build
ionic build --minifycss # Minify CSS for this build
ionic build --optimizejs # Perform JS optimizations for this build
# change package.json version
# change vue.config.js version, manifest_version
npm install # if need when change the package
ionic build --prod --minifyjs --minifycss --optimizejs # default origial command
npm run compile # comple source to dist (ts to javascript)
npm run deploy # copy dist folder to src/main/webapp/mobile. need npm install -g colors , npm install -g iconv-lite
in Dev Tool -> Application -> Service Workers
{"notification" : {"title":"제목", "body" : "내용이 옵니다.", "image" : "http://localhost:8100/test/img/icons/icon-messages-81x60.png"}}
회의실예약승인 (MO01020001)
로그인
메인
하자관리
하자처리 (MO02010001U)
하자완료조회 (MO02020001U)