하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

vue build mode 사용하기

각 환경마다 변수를 다르게 사용해야하는 경우가 생길경우 예를 들면 개발서버에서는 개발url을 리얼서버에서는 리얼url을 바라봐야 할때 아래와 같이 사용한다. https://cli.vuejs.org/guide/mode-and-env.html#modes 참고로 production으로 minify를 해야할 경우 변수파일 상단에 아래 변수를 꼭 넣어주자. NODE_ENV=production 그래야 소스가 압축해서 올라간다.

  • format_list_bulleted Programming/Vue-tip
  • · 2019. 2. 26.
  • textsms

[npm] Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin,

vue-cli 실행시 아래와 같은 에러가 나올 경우 Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, 윈도우 환경이라면 명령어프롬프트(cmd)를 관리자 권한으로 실행 후 npm install -> npm run dev 해보도록 하자. if you use windows, open the cmd with administrator authority. and npm install -> npm run dev

  • format_list_bulleted Programming/Error
  • · 2018. 2. 19.
  • textsms

[vue-cli/error] [vuex] vuex requires a Promise polyfill in this browser.

vue-cli로 작업하던 도중, vuex를 사용하는데 ie11에서 아래와 같은 오류메세지가 나면서 동작을 하지 않았다. [vuex] vuex requires a Promise polyfill in this browser. https://github.com/stefanpenner/es6-promise#auto-polyfill 위에 패키지를 설치하고 main.js 상단에 import 'es6-promise/auto' 그래도 에러나서 찾아보니 unit/index.js 파일에도 마찬가지로 상단에 아래와 같이 선언하니 이상없이 동작한다. import 'es6-promise/auto'

  • format_list_bulleted Programming/Vue-tip
  • · 2017. 12. 15.
  • textsms
  • navigate_before
  • 1
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #MySQL
  • #JPA
  • #AngularJS
  • #javascript
  • #springboot
  • #Vue
  • #sts
  • #css
  • #GIT
  • #error
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바