summaryrefslogtreecommitdiff
path: root/src/client/app/test/views/index.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/test/views/index.vue')
-rw-r--r--src/client/app/test/views/index.vue34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/client/app/test/views/index.vue b/src/client/app/test/views/index.vue
new file mode 100644
index 0000000000..b1947ffa4a
--- /dev/null
+++ b/src/client/app/test/views/index.vue
@@ -0,0 +1,34 @@
+<template>
+<main>
+ <ui-card>
+ <div slot="title">MFM Playground</div>
+ <section class="fit-top">
+ <ui-textarea v-model="mfm">
+ <span>MFM</span>
+ </ui-textarea>
+ <div>
+ <misskey-flavored-markdown :text="mfm" :i="$store.state.i"/>
+ </div>
+ </section>
+ </ui-card>
+</main>
+</template>
+
+<script lang="ts">
+import Vue from 'vue';
+
+export default Vue.extend({
+ data() {
+ return {
+ mfm: '',
+ };
+ }
+});
+</script>
+
+<style lang="stylus" scoped>
+main
+ max-width 700px
+ margin 0 auto
+
+</style>