From e3707dab5cf1a09230896142d919060d11cb66ae Mon Sep 17 00:00:00 2001 From: estel <690930@qq.com> Date: Sun, 27 Jul 2025 01:41:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E6=B7=BB=E5=8A=A0FileTree?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/content/FileTree.vue | 184 ++++++++++++++++++++++++ app/components/content/FileTreeItem.vue | 108 ++++++++++++++ content/1.简单文档/1.index.md | 38 ++--- 3 files changed, 303 insertions(+), 27 deletions(-) create mode 100644 app/components/content/FileTree.vue create mode 100644 app/components/content/FileTreeItem.vue diff --git a/app/components/content/FileTree.vue b/app/components/content/FileTree.vue new file mode 100644 index 0000000..7cefd38 --- /dev/null +++ b/app/components/content/FileTree.vue @@ -0,0 +1,184 @@ + + + diff --git a/app/components/content/FileTreeItem.vue b/app/components/content/FileTreeItem.vue new file mode 100644 index 0000000..ba1330d --- /dev/null +++ b/app/components/content/FileTreeItem.vue @@ -0,0 +1,108 @@ + + + \ No newline at end of file diff --git a/content/1.简单文档/1.index.md b/content/1.简单文档/1.index.md index 8e9d024..ea11fcd 100644 --- a/content/1.简单文档/1.index.md +++ b/content/1.简单文档/1.index.md @@ -9,35 +9,19 @@ This template is a ready-to-use documentation template made with [Nuxt UI Pro](h There are already many websites based on this template: -::UPageCard +::FileTree --- -icon: lucide:rocket +tree: + - app: + - components: + - Header.vue + - Footer.vue + - composables: + - useErrorHandler.ts + - ^app.vue^ # This is highlighted + - docs: + - index.md --- - -#title -Card Title - -#description -Description - -#content -Beautifully designed **Nuxt Content** template with **shadcn-vue**. _Customizable. Compatible. Open Source._ - -#highlight -Tailwind CSS - -#highlight-color -primary - - title="Tailwind CSS" - description="Nuxt UI v3 integrates with latest Tailwind CSS v4, bringing significant improvements." - icon="i-simple-icons-tailwindcss" - orientation="horizontal" - highlight - highlight-color="primary" - -#footer -Footer :: ::steps{level="4"}