springeye / vue-for-idea

This is vue plugin for idea
https://plugins.jetbrains.com/plugin/9188
BSD 3-Clause "New" or "Revised" License
321 stars 45 forks source link

es6 ()=>{} not supported? #20

Closed tommyZZM closed 8 years ago

awdyer commented 8 years ago

Add type="text/babel" to the script tag, as per #3.

springeye commented 8 years ago

see #3

alsotang commented 8 years ago

I already add type="text/babel", but it seems not work

image

fish-ball commented 8 years ago

http://stackoverflow.com/a/38141782/2544762 Try lang="babel" instead.

alsotang commented 8 years ago

lang="babel" works!

kvzn commented 7 years ago

Why was this issue closed? It hasn't been fixed, even lang="babel" is a bad idea, which depends on babel-loader