-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async / await #124
Comments
VuePress used |
ok, i changed buble to babel into my fork. Hope coming soon :) |
You can also use module.exports = {
chainWebpack: config => {
const jsRule = config.module.rule('js')
jsRule.uses.delete('buble-loader')
jsRule.use('babel-loader').loader('babel-loader')
}
} Then install |
done! hope buble implements async await soon :) |
@yyx990803 Just curious, is there any particular reason that we use buble? It seems to lack a lot of essential features, e.g. proper polyfills, async/await... etc. |
@ycmjason Because it's a lighter and faster default and produces a smaller bundle. |
@yyx990803 In an exchange of less-complete functionality 😞 |
Cool, always trying different stuffs, waiting.. |
we can't use async await by default with a custom components in doc
.vuepress
--components
----customcomponents.vue
need a specific loader (babel i suppose).
Maybe a good thing to embed babel async await loader by default
The text was updated successfully, but these errors were encountered: