Vue project install is normal. When NPM run dev is started, the project cannot be started due to warnings.
Exception prompt:
(Emitted value instead of an instance of Error)
<el-row v-for="item in order.products">: component lists rendered with v-for should have explicit keys.
See https://vuejs.org/guide/list.html#key for more info.
Anomaly analysis:
On the child elements of the transition-group tag, do not use the v-for index as the key, otherwise it is the same as not using the key
Solution:
V-for specifies subscript, :key="index"
Read More:
- [Solved] Vue Error: Duplicate keys detected: ‘74004’. This may cause an update error
- [Solved] Vue Project Startup Error: getaddrinfo ENOTFOUND xxx
- [Solved] Vue Project startup error: no eslint configuration found
- Vue Startup Error: 98% after emitting CopyPlugin This dependency was not found:
- How to Solve Vue project Startup Error (Node Upgrade issue)
- [Solved] ant design pro vue Startup Error: ERROR Failed to compile with 1 error 20:34:09 error in ./src/components/Num
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- The toast light prompt of vant in Vue reports an error
- Vue warn]: vue3 element Component emit Pass Event Error
- [Solved] Vue Element Date plug-in reports an error in form validation
- Full screen scrolling by Vue + Vue awesomeswiper
- After Vue is packaged to the server, the static resource path reports an error
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- Solve the problem of repeatedly clicking the same route console in Vue to report an error
- [Solved] Vue3 Error: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. P
- NPM run dev runs the Vue project and reports an error: Node Sass does not yet support your current environment
- Vue installs sass loader directly, and node sass reports an error
- Vue installation @ Vue/cli error: npmerr gyp err
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function