README.md 3.8 KB

Mobile Vue

Install

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

Project Run & Build

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

Push Test

in Dev Tool -> Application -> Service Workers

{"notification" : {"title":"제목", "body" : "내용이 옵니다.", "image" : "http://localhost:8100/test/img/icons/icon-messages-81x60.png"}}

VSCode Extension

Menu Struct

모바일(임직원)

  • 로그인
  • 메인
  • 하자관리
  • 하자작업지시 (MO03010001U)
  • 하자조회 (MO03020001U)
  • 회의실관리
  • 회의실예약 (MO01010001U)
  • 회의실예약승인 (MO01020001)

    모바일(협력업체)

  • 로그인

  • 메인

  • 하자관리

  • 하자처리 (MO02010001U)

  • 하자완료조회 (MO02020001U)