Cannot use import statement outside a module
Collapse
X
-
I can't give an example. I'm quite busy on daily basis. Please invest some time. Try the ext-template initialization and then see what the file is. -
Leave a comment:
-
For new extensions originated from the ext-template, it will ask whether you want to use ES6 modules upon initialization. For existing extensions, currently there's no guideline.Leave a comment:
-
Likely, your are using ES6 modules in your customization. Use AMD instead.Leave a comment:
-
Cannot use import statement outside a module
Can you help me to explain more about this error and how to fix it. Thank very muchTags: None
Leave a comment: