当前位置:网站首页>[vscode - vehicle plug-in reports an error] cannot find module 'xxx' or its corresponding type declarations Vetur(2307)
[vscode - vehicle plug-in reports an error] cannot find module 'xxx' or its corresponding type declarations Vetur(2307)
2022-07-03 06:53:00 【Alisone_ li】
Cannot find module '@/utils/request' or its corresponding type declarations.Vetur...
Cause analysis
Error reporting example , As shown in the figure :
The emergence of the above problems , Generally due to Visual Studio Code
Installed in Vetur
plug-in unit , It requires :
- 1, The project is in the workspace root directory ( Is to drag the project folder into vscode After the effect of )
- 2, Project number one ( If you are not in the first place, you can drag the mouse to move the item to the first place )
Solution
Move the project directly to the first place in the workspace :
边栏推荐
猜你喜欢
远端rostopic的本地rviz调用及显示
scroll-view指定滚动元素的起始位置
Pytest -- write and manage test cases
HMS core helps baby bus show high-quality children's digital content to global developers
Realize PDF to picture conversion with C #
Liang Ning: 30 lectures on brain map notes for growth thinking
(翻译)异步编程:Async/Await在ASP.NET中的介绍
golang操作redis:写入、读取hash类型数据
[classes and objects] explain classes and objects in simple terms
The pressure of large institutions in the bear market has doubled. Will the giant whales such as gray scale, tether and micro strategy become 'giant thunder'?
随机推荐
Machine learning | simple but feature standardization methods that can improve the effect of the model (comparison and analysis of robustscaler, minmaxscaler, standardscaler)
Basic teaching of crawler code
100000 bonus is divided up. Come and meet the "sister who braves the wind and waves" among the winners
Summary of the design and implementation of the weapon system similar to the paladin of vitality
【无标题】
In depth analysis of reentrantlock fair lock and unfair lock source code implementation
【code】偶尔取值、判空、查表、验证等
Thoughts in Starbucks
Interface test weather API
UTC time, GMT time, CST time
熊市里的大机构压力倍增,灰度、Tether、微策略等巨鲸会不会成为'巨雷'?
MySQL installation
Create your own deep learning environment with CONDA
HMS core helps baby bus show high-quality children's digital content to global developers
The pressure of large institutions in the bear market has doubled. Will the giant whales such as gray scale, tether and micro strategy become 'giant thunder'?
centos php7.3安装redis扩展
[5g NR] UE registration process
每日刷题记录 (十一)
Chapter 8. MapReduce production experience
Winter vacation work of software engineering practice