Created
October 24, 2018 15:00
-
-
Save paltman/63cfc74754292aa33ee0eb593dd3d900 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="system-message alert alert-danger" role="alert"> | |
<button @click.stop="$emit('clearMessage')" class="close">×</button> | |
<ul><li v-for="(message, index) in error.messages" :key="index">{{ message }}</li></ul> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'error-message', | |
props: ['error'] | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment