关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version

(编辑:jimmy 日期: 2024/12/23 浏览:2)

IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version 和Export declarations are not supported by current JavaScript version报错都是一个解决办法

js文件报错

关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version
关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version

第一步,点开设置

关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version

第二步,点语言和框架

关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version

第三步,把版本号由默认的改成6.0或者6

关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version

第四步,点应用,完成就可以了

关于IDEA中的.VUE文件报错 Export declarations are not supported by current JavaScript version