Files
scrypted/plugins/core/ui/src/interfaces
2022-02-18 21:46:17 -08:00
..
2021-09-08 13:19:51 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-10-04 20:42:56 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-09-11 13:24:21 -07:00
2021-08-24 21:22:41 -07:00
2021-09-08 13:19:52 -07:00
2021-12-28 19:59:55 -08:00
2021-10-15 00:34:04 -07:00
2021-08-24 21:22:41 -07:00
2021-10-11 00:45:57 -07:00
2021-12-01 18:37:50 -08:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00
2021-08-24 21:22:41 -07:00

<template>
  <v-card>
    <v-card-title class="subtitle-1 font-weight-light">Readme</v-card-title>
    <v-flex v-if="readme">
      <VueMarkdown>{{ readme }}</VueMarkdown>
    </v-flex>
    <v-card-text v-else> Loading... </v-card-text>
  </v-card>
</template>
<script>
import VueMarkdown from "vue-markdown";
import RPCInterface from "./RPCInterface.vue";

export default {
  mixins: [RPCInterface],
  components: {
    VueMarkdown,
  },
  data() {
    return {
      readme: null,
    };
  },
  mounted() {
    this.refresh();
  },
  methods: {
    async refresh() {
      this.readme = await this.rpc().getReadmeMarkdown();
    },
  },
};
</script>