vscode runs vue, and the terminal input npm run serve keeps reporting errors

(附图片)These dependencies were not found:
* @/views/index/index in ./src/router/index.js
* @/views/index/nearby_shops in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/category/category.vue?vue&type=script&lang=js&

To install them, you can run: npm install --save @/views/index/index @/views/index/nearby_shops

Is there anyone who can save it? It’s really nothing. It’s been like this for a whole day. Qiuqiu saves the child┭┮﹏┭┮

 

Guess you like

Origin blog.csdn.net/qq_45790877/article/details/129311641