vscode+vue报错This dependency was not found:

  • @views/login in ./src/router/index.js
    To install it, you can run: npm install --save @views/login
    只要把引入路径去掉@就可以了
    vue报错This dependency was not found
    vue报错This dependency was not found
    出现严重问题,第二次运行时又报错了,在网上看的
    在命令行中分别输入一下命令:
    npm install node-sass --save
    npm install sass-loader --save
    npm install scss --save
    npm install scss-loader --save
    又加上@就对了,不清楚哪个起了作用,先记着
    vue报错This dependency was not found

相关文章:

  • 2021-08-13
  • 2021-10-30
  • 2021-08-12
  • 2021-10-06
  • 2022-01-06
  • 2021-09-05
猜你喜欢
  • 2021-12-07
  • 2021-09-04
  • 2021-05-28
  • 2021-12-20
  • 2021-12-22
  • 2021-11-22
  • 2021-05-16
  • 2021-06-12
相关资源
相似解决方案