vue学习:解决Apycharm的 * is only available in ES6(use 'esversion: 6') 问题
2018-02-23 22:57
489 查看
使用pycharm打开main.js,代码前出现黄点,js报错了
把鼠标移至import的波浪线上,出现提示:W119 - ‘import’ is only available in ES6(use 'esversion: 6') .意思是import属于ES6的语法,当前页面不能用。
在页面上加上 /* jshint esversion: 6 */ 就好了
把鼠标移至import的波浪线上,出现提示:W119 - ‘import’ is only available in ES6(use 'esversion: 6') .意思是import属于ES6的语法,当前页面不能用。
在页面上加上 /* jshint esversion: 6 */ 就好了
相关文章推荐
- vue学习:解决Atom中的 * is only available in ES6(use 'esversion: 6') 问题
- R语言学习-问题解决-Error in `[<-.ts`(`*tmp*`,...only replacement of elements is allowed
- Atom 使用Jshint时const is available in ES6 (use esversion:6)
- xsession 登陆失败,查看日志后解决问题 错误为[ERROR] X server -- no display in range is available
- R语言学习-问题解决-Error in output$nodeID : $ operator is invalid for atomic vectors
- 【软工学习笔记】【web开发环境】解决eclipse中web项目出现Project facet Java version 1.8 is not supported.的问题
- Sorry, the command is not available in this version: syntax enable的解决方法
- 【问题解决】Syntax error, parameterized types are only available if source level is 5.0
- MongoDB学习—(1)安装时出现The default storage engine 'wiredTiger' is not available问题解决
- 彻底解决:@synthesize of 'weak' property is only allowed in ARC or GC mode :问题
- Fedora11上安装bugzilla出现 max_allowed_packet is read-only问题的解决方法
- 解决rpmdb: Lock table is out of available locker entries问题。
- linux下mysql error #1036 - Table 'xxxx' is read only问题的解决方法
- 报错!Syntax error,parameterized types are only available if source level is 5.0 解决方法
- 解决Exception starting filter struts2 java.lang.UnsupportedClassVersionError: Bad version number in .class的问题
- "The requested resource (... processLogin.action) is not available"的问题所在及解决办法
- You cannot run the non-logged version of bulk copy in this database问题的解决方法
- 出现java.lang.UnsupportedClassVersionError: Bad version number in .class file问题的解决方法分析
- Eclipse is running in a JRE, but a JDK is required……问题解决
- SilverLight Canvas is not support in wpf 的问题解决方法