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 @@ + + + + + {{ title }} + + + + + + + + + + + + + + + + + + + {{ item.title }} + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + {{ item.title }} + + + + + + + + + + + + \ 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"}