심바의 개발일지

  • 홈
  • 태그
  • 방명록

Vue 2

[Vue] vue port 변경해서 실행

npm run serve -- --port 9090 로컬에서 실행할경우 포트변경 필요할때 쓰임

Vue 2021.07.18

vue local server 다른사람도 접근 가능하게 하기 (IP로 접근)

package.json 파일 내 scripts.dev 을 as-is "scripts": { "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js" } to-be "scripts": { "dev": "webpack-dev-server --host 0.0.0.0 --disableHostCheck true --inline --progress --config build/webpack.dev.conf.js" } 로 변경하면 로컬에서 돌린 서버와 프론트가 다른피시에서도 아이피로 접근이 가능해진다.

Vue 2020.07.31
1
더보기
프로필사진

  • 분류 전체보기 (60)
    • JPA (0)
    • JS (1)
    • SpringBoot (11)
    • Vue (3)
    • DB (1)
      • Mysql (7)
    • Java (4)
    • ngnix (1)
    • Redis (0)
    • 알고리즘 (17)
    • 개발 (10)
    • Kotlin (1)
    • 내 자신에게 해주고 싶은 말 (0)

Tag

sourcetree access token github, 프로그래머스, rename folder, sourcetree github access token, Intellij, 폴더 이름바꾸기, Cannot Connect to Database Server, 500 502 차이, java, 백준, change folder name, Queue PriorityQueue, MySQL, while connecting to upstream, how to change repository folder name, sourcetree github not working, Please use a personal access token instead, Vue, Queue PrioirtyQueue 시간복잡도, HTTP 응답코드,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

Copyright © Kakao Corp. All rights reserved.

티스토리툴바