You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
333 B

  1. <template lang="pug">
  2. div(v-if="messages.length > 0")
  3. article.message.is-danger
  4. div.message-body
  5. ul
  6. li(v-for="message in messages", v-bind:key="message") {{ message }}
  7. </template>
  8. <script>
  9. export default {
  10. props: {
  11. messages: {
  12. type: Array,
  13. default: () => [],
  14. },
  15. },
  16. };
  17. </script>