I try to use "import" using es6 feature , but it seems to doesn't work on the browser compiler , there is any way to use the "import" feature ?
Asked
Active
Viewed 51 times
0
-
What do you mean by "browser compiler", do you mean the interpreter built into the browser itself (in which case, which browser?), or do you mean a transpiler such as babel? – James Thorpe Jan 28 '16 at 08:48
-
I want to use the interpreter built into the browser itself(Chrome). – Elad Israeli Jan 28 '16 at 08:54
-
Please use the search before you ask a new question. – Felix Kling Jan 28 '16 at 08:55
1 Answers
0
You should have a look at Babel
It is what you need to 'convert' es6 feature to es5 compatible code.

OttavioMonzione
- 123
- 7
-
I want to use the interpreter built into the browser itself(Chrome). – Elad Israeli Jan 28 '16 at 08:54