【报错5】Cannot find module ‘vue‘. Did you mean to set the ‘moduleResolution‘ option to ‘node‘, or to ad

报错:Cannot find module 'vue'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?

解决

tsconfig.json里的"moduleResolution": "bundler"改成"moduleResolution": "node"

【报错5】Cannot find module ‘vue‘. Did you mean to set the ‘moduleResolution‘ option to ‘node‘, or to ad_第1张图片

 

你可能感兴趣的:(前端web,vue.js,前端,typescript)