You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…1345)
* docs(componentExampleLoader): replace `vue-template-es2015-compiler` with `babel`
using babel to compile javascript in examples
fix#1337
* refactor(componentExampleLoader): replace `path.join` with `resolvePath`
Steps to reproduce
Write a method in any example format like this:
Which browser?
vue-material@vue-material@1.0.0-beta-7
Chrome 63.0.3239.108 (64bit) on Xubuntu
What is expected?
Transformed into
onSelect: async function onSelect (val) {
What is actually happening?
It's transformed into
async onSelect: function onSelect (val) {
and throw error:Is it possible to replace
vue-template-es2015-compiler
with babel with same configuration as.babelrc
?I think it's might because
async / await
ises2017
notes2015
andBublé
(whichvue-template-es2015-compiler
dependent on) is an ES2015 compiler?Til now, we could still write
onSelect: async function onSelect (val) {
in our documentation example.The text was updated successfully, but these errors were encountered: