Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 설치
    • NVM 설치
      • Code Block
        languagebash
        themeEclipse
        $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
    • Node.js 설치

      • Code Block
        languagebash
        themeEclipse
        $ nvm install --lts
    • Vue CLI 설치

      • Code Block
        languagebash
        themeEclipse
        $ npm install -g @vue/cli
    • Vue Project 생성
      • Panel

        $ vue start my-app

    • Vuetify 설치
      • Panel

        $ vue add vuetify

    • dev server 접속
      • Panel

        $ npm run serve

      • Image Added
    • build for production
      • Panel

        $ npm run build

  • webpack project 생성

    • Note

      Deprecated

      • vue-cli 2.0 까지만 사용. 더 이상 vue.js에서 webpack template 지원하지 않음
    • http://vuejs-templates.github.io/webpack/
    • project의 root directory 에서 (i.e. ~/git/bbgo)
    • Code Block
      languagebash
      themeEclipse
      ~/git/bbgo$ vue init webpack frontend
    • tests 빼고 다 default / recommended 선택

    • run dev server
      • Code Block
        languagebash
        themeEclipse
        ~/git/bbgo/frontend$ npm run dev
    • dev server 접속
    • http://localhost:8080