vue运行报错
ERROR Failed to compile with 2 errors 10:03:54
This dependency was not found:
* @/api/job/jobPractice 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-loade
r/lib??vue-loader-options!./src/views/job/JobPracticeList.vue?vue&type=script&lang=js&, ./node_modules/cache-loader/dist/cjs.js??ref—12-0!./node_modules/babel-loader/lib!./node_module
s/cache-loader/dist/cjs.js??ref—0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/job/modules/JobPracticeModal.vue?vue&type=script&lang=js&
To install it, you can run: npm install —save @/api/job/jobPractice
方法:
这是因为引入路径有问题,修改路径即可
还没有评论,来说两句吧...