Sha256: 0cf32f74b23aada9bf1bd8ff92a89833daab3d0c11fa8470c21e1b1dff4da0a9
Contents?: true
Size: 710 Bytes
Versions: 14
Compression:
Stored size: 710 Bytes
Contents
<template> <div class="notification is-danger is-light"> <p v-if="error.response.data?.message">{{ error.response.data.message }}</p> <p v-else>{{ error }}</p> </div> <article class="message" v-if="error.response.data?.details"> <div class="message-body"> <VueJsonPretty :data="error.response.data.details"></VueJsonPretty> </div> </article> </template> <script lang="ts"> import "vue-json-pretty/lib/styles.css" import { defineComponent } from "vue" import VueJsonPretty from "vue-json-pretty" export default defineComponent({ name: "ErrorItem", props: { error: { type: Object, required: true } }, components: { VueJsonPretty } }) </script>
Version data entries
14 entries across 14 versions & 1 rubygems