解决idea的html代码中使用es6语法报错的问题

在idea的settings中找到下图,修改为es6即可。

原文地址:https://www.cnblogs.com/mayiaction/p/11866009.html