Files
scrypted/plugins/core/ui/src/interfaces
2022-03-14 00:57:24 -07:00
..
2022-03-13 21:20:08 -07:00
2021-09-08 13:19:51 -07:00
2021-08-24 21:22:41 -07:00
2022-03-13 20:15:41 -07:00
2022-03-14 00:57:24 -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-10-15 00:34:04 -07:00
2021-08-24 21:22:41 -07:00
2021-10-11 00:45:57 -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

<template>
  <v-card>
    <card-toolbar >Readme</card-toolbar>
    <v-flex v-if="readme">
      <VueMarkdown>{{ readme }}</VueMarkdown>
    </v-flex>
    <v-card-text v-else> Loading... </v-card-text>
  </v-card>
</template>
<script>
import CardToolbar from './../components/CardToolbar.vue';
import VueMarkdown from "vue-markdown";
import RPCInterface from "./RPCInterface.vue";

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