Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Test lazy

Smaug67390790eeb71b50
diff --git a/frontend/components/MarkdownEditor/MarkdownEditor.vue b/frontend/components/MarkdownEditor/LazyMarkdownEditor.vue
similarity index 100%
rename from frontend/components/MarkdownEditor/MarkdownEditor.vue
rename to frontend/components/MarkdownEditor/LazyMarkdownEditor.vue
diff --git a/frontend/pages/(public)/index.vue b/frontend/pages/(public)/index.vue
index 36dc5dd6..51b9e43f 100644
--- a/frontend/pages/(public)/index.vue
+++ b/frontend/pages/(public)/index.vue
@@ -37,7 +37,7 @@
</template>
<script setup lang="ts">
-import MarkdownEditor from '~/components/MarkdownEditor/MarkdownEditor.vue';
+import MarkdownEditor from '~/components/MarkdownEditor/LazyMarkdownEditor.vue';
import AppFooter from './_components/AppFooter.vue';
const typewriterText = ref('Your Ideas, Documents & Plans.\nAlexandrie');
diff --git a/frontend/pages/dashboard/docs/edit/[id].vue b/frontend/pages/dashboard/docs/edit/[id].vue
index 3407e1ef..8854a0ea 100644
--- a/frontend/pages/dashboard/docs/edit/[id].vue
+++ b/frontend/pages/dashboard/docs/edit/[id].vue
@@ -3,7 +3,7 @@
</template>
<script lang="ts" setup>
import type { Document } from '~/stores';
-import MarkdownEditor from '~/components/MarkdownEditor/MarkdownEditor.vue';
+import MarkdownEditor from '~/components/MarkdownEditor/LazyMarkdownEditor.vue';
const store = useDocumentsStore();
const route = useRoute();
diff --git a/frontend/pages/dashboard/docs/new.vue b/frontend/pages/dashboard/docs/new.vue
index e7a80615..1d4593f8 100644
--- a/frontend/pages/dashboard/docs/new.vue
+++ b/frontend/pages/dashboard/docs/new.vue
@@ -2,7 +2,7 @@
<MarkdownEditor :doc="document" @save="data => save(data)" @exit="exit" />
</template>
<script lang="ts" setup>
-import MarkdownEditor from '~/components/MarkdownEditor/MarkdownEditor.vue';
+import MarkdownEditor from '~/components/MarkdownEditor/LazyMarkdownEditor.vue';
import type { Document } from '~/stores';
const store = useDocumentsStore();