点击file 进入到setting中 选择webpack,指定到@vue\cli-service\webpack.config.js文件 关闭idea重启即可,下划线就消失了CTRL+鼠标也能进到引用的文件中