목록2022/07 (2)
SPRING :: NOTE
[Vue3] error Elements in iteration expect to have 'v-bind:key' directives vue/require-v-for-key
Vue3 튜토리얼 중 다음과 같이 에러가 나타남. 코드: {{ todo.text }} 에러: error Elements in iteration expect to have 'v-bind:key' directives vue/require-v-for-key 해결: v-for를 사용할 시, Key 값이 요구됨 아래와 같이 'v-for'문에 'key'값을 삽입(이 코드에선 i가 key값) {{ todo.text }} - v-for key 값은 {{ i }}
Development Language/WEB
2022. 7. 4. 16:47
[node.js] vue 'npm run serve' 시, 에러
vue도 처음 node.js도 처음 사용하고, 샘플 페이지를 여는 도중 나타난 문제 npm run serve 서버를 실행해서 빌딩하는 듯한 명령어...(잘 모름...) 중 아래와 같은 에러가 확인됨 ERROR TypeError: Cannot read properties of undefined (reading 'version') TypeError: Cannot read properties of undefined (reading 'version') at module.exports (\VUE\vuedongsan\node_modules\@vue\cli-plugin-eslint\index.js:21:27) at D:\2.My_Project\11_WEB\VUE\vuedongsan\node_modules\@vue\c..
Development Language/WEB
2022. 7. 1. 14:33