개발/vue.js

[vue.js] TypeError: (0 , i.openBlock) is not a function 에러가 뜨면서 vue-resizable 적용 안될시 에러

멋진놈 2024. 3. 7. 16:07
728x90

# error:

TypeError: (0 , i.openBlock) is not a function 에러가 뜨면서 vue-resizable 적용 안될시 에러

 

# 원인 :

vue2와 vue-resizable 버전이 서로 호환되지 않으면 나타나는 에러

 

# 해결 :

cmd에서 npm info vue-resizable versions 확인 후

원하는 버전을 다시 재설치

그전에 vue-resizable은 지워주자

@버전 입력하면 됨.

npm install vue-resizable@2.0.5