es6-tutorial icon indicating copy to clipboard operation
es6-tutorial copied to clipboard

Using modules

Open yelyel opened this issue 7 years ago • 0 comments

In the lesson using modules I get the error : 'import declarations may only appear at top level of module'. If I add the type = "module" to the script tag in the index file, the error doesn't show anymore but the script doesn't work anymore either. What's goin' on ??? ThX for a quick answer ! Yel

yelyel avatar Feb 20 '18 11:02 yelyel