Skip to content

Instantly share code, notes, and snippets.

@paltman
Created October 24, 2018 15:00
Show Gist options
  • Save paltman/b2d3387bf4c24febb1cf7a4f7e5c626b to your computer and use it in GitHub Desktop.
Save paltman/b2d3387bf4c24febb1cf7a4f7e5c626b to your computer and use it in GitHub Desktop.
<template>
<div class="system-message alert alert-success" role="alert">
<button @click.stop="$emit('clearMessage')" class="close">&times;</button>
<p>{{ message }}</p>
</div>
</template>
<script>
export default {
name: 'success-message',
props: ['message']
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment