Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
export default {
async mounted() {
// if an async error is thrown here, it now will get
// caught by errorCaptured and Vue.config.errorHandler
this.posts = await api.getPosts()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment