【vue】报错This dependency was not found

报错

 ERROR  Failed to compile with 1 errors                                                                                                                                       10:33:34 ├F10: PM┤
This dependency was not found:

* @/views/teacher/save in ./src/router/index.js

To install it, you can run: npm install --save @/views/teacher/save

原因

在router/index.js中,路径写错,写对就可以了。

posted @ 2020-10-12 22:38  DJ同学  阅读(3517)  评论(1编辑  收藏  举报