From 7714815396b4e86afc5db1af3726fab4edf0ca35 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sat, 3 Jul 2021 23:07:09 +0200
Subject: viewer: add markdown rendering component
Extracted from b170f49 (GH PR #304)
---
viewer/src/components/async/Markdown.vue | 123 +++++++++++++++++++++++++++++++
viewer/src/components/async/index.ts | 4 +
2 files changed, 127 insertions(+)
create mode 100644 viewer/src/components/async/Markdown.vue
create mode 100644 viewer/src/components/async/index.ts
(limited to 'viewer/src/components/async')
diff --git a/viewer/src/components/async/Markdown.vue b/viewer/src/components/async/Markdown.vue
new file mode 100644
index 0000000..c4e282b
--- /dev/null
+++ b/viewer/src/components/async/Markdown.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
diff --git a/viewer/src/components/async/index.ts b/viewer/src/components/async/index.ts
new file mode 100644
index 0000000..5a7d9a6
--- /dev/null
+++ b/viewer/src/components/async/index.ts
@@ -0,0 +1,4 @@
+// Declare async constants for internal components
+// Their name can't start with 'Ld'
+
+export const Markdown = () => import(/* webpackChunkName: "markdown" */ "./Markdown.vue");
--
cgit v1.2.3