方法1、去掉勾选——控制活动代码段是否阻止快速建议

方法2、选择底部点击vue那里,然后选择自动检测(或者自己选择)


方法3、打开工具
"files.associations": {
"*.vue":"html",
"*.ejs":"html",
"*.js":"html",
},
方法4、vscode版本不是最新的,所以安装低版本的Vetur
-
打开插件市场,点击Vetur,点击市场
image.png
-
找符合的低版本,下载到本地
image.png
-
安装,右上角三个点那里,选择刚才下载的
image.png
网友评论