반응형 Vue.js2 .babelrc에 대해... .babelrc에 대해... Vue CLI명령을 통해 프로젝트를 생성했다면 다음과 같은 파일을 만날 수 있다. younghuui-MacBook-Pro:Vue younghumin$ vue init webpack hello-world ? Project name hello-world ? Project description A Vue.js project ? Author younghu min ? Vue build standalone ? Install vue-router? Yes ? Use ESLint to lint your code? Yes ? Pick an ESLint preset Standard ? Set up unit tests Yes ? Pick a test runner jest ? Setup e2e te.. 2019. 11. 7. error potentially fixable with the `--fix` option. npm run serve를 통해 프로젝트를 실행 했더니 이해할 수 없는 error가 나왔다. 분명 개발 담당자 개발 환경에서는 나오지 않았을 것 같은데 내 노트북 개발 환경에서는 에러가 나온다는 것은 환경이 다르다는 이야기다. 처음 빌드를 했을 때 에러가 나길래 그 부분을 수정했다. 그리고 몇일이 지나 수정 사항을 Reset하고 다시 빌드를 하니 똑같은 에러가 나왔다. Module Warning (from ./node_modules/eslint-loader/index.js): error: Unnecessary use of boolean literals in conditional expression (no-unneeded-ternary) at src/views/search.vue:252:59: 250 | .. 2019. 7. 8. 이전 1 다음 반응형