Notice
Recent Posts
Recent Comments
Link
Cronex
spring boot vue 프로젝트 설정 시 webpack-dev-server 오류 본문
spring boot 와 vue를 이용하여 프로젝트 생성 시 webpack-dev-server를 띄웠을 때 브라우저 콘솔에서 이러한 오류가 발생할 때가 있다.
해당 오류는 webpack-dev-server proxy를 설정하면서 ws 설정에 의해 발생한 오류인데, 간단하게 proxy를 설정해준 vue.config.js 에서 proxy로 설정한 path에 ws: false options을 추가해주면 된다. 설정 후 dev-server를 다시 띄워보면
사라진것을 확인할 수 있다.
'spring-boot > errors' 카테고리의 다른 글
spring-boot + vue 405 해결법(2) - 디버깅 (0) | 2023.04.30 |
---|---|
spring-boot + vue 405 해결법(1) (0) | 2023.04.28 |
spring boot + vue project router문제와 404 해결 (0) | 2023.04.25 |
spring-boot Intellij에서 실행 시 Execution failed for task ':.main()'. 오류 (0) | 2023.04.18 |