Syntax Error: Unexpected String?
The following line is giving me the following error: "Syntax Error: Unexpected String".
import {Specialties} from '/lib/collections';
What could possibly be unexpected about that string?
Thanks very much in advance to all for any info.
请先登录再写评论。
This is the correct syntax. What JavaScript language version is chosen in 'Settings | Languages & Frameworks | JavaScript'? make sure to set it to either 'ECMAScript6' or 'JSX Harmony'