diff --git a/app/components/SpecTable.vue b/app/components/pages/products/SpecTable.vue similarity index 100% rename from app/components/SpecTable.vue rename to app/components/pages/products/SpecTable.vue diff --git a/app/components/SearchResults.vue b/app/components/pages/search/SearchResults.vue similarity index 100% rename from app/components/SearchResults.vue rename to app/components/pages/search/SearchResults.vue diff --git a/app/components/SupportTabs.vue b/app/components/pages/support/SupportTabs.vue similarity index 100% rename from app/components/SupportTabs.vue rename to app/components/pages/support/SupportTabs.vue diff --git a/app/components/DocumentList.vue b/app/components/shared/DocumentList.vue similarity index 100% rename from app/components/DocumentList.vue rename to app/components/shared/DocumentList.vue diff --git a/app/components/FilePreviewer.vue b/app/components/shared/FilePreviewer.vue similarity index 100% rename from app/components/FilePreviewer.vue rename to app/components/shared/FilePreviewer.vue diff --git a/app/components/JinshenFooter.vue b/app/components/shared/JinshenFooter.vue similarity index 100% rename from app/components/JinshenFooter.vue rename to app/components/shared/JinshenFooter.vue diff --git a/app/components/JinshenHeader.vue b/app/components/shared/JinshenHeader.vue similarity index 100% rename from app/components/JinshenHeader.vue rename to app/components/shared/JinshenHeader.vue diff --git a/app/components/MarkdownRenderer.vue b/app/components/shared/MarkdownRenderer.vue similarity index 100% rename from app/components/MarkdownRenderer.vue rename to app/components/shared/MarkdownRenderer.vue diff --git a/app/components/MarkdownTable.vue b/app/components/shared/MarkdownTable.vue similarity index 100% rename from app/components/MarkdownTable.vue rename to app/components/shared/MarkdownTable.vue diff --git a/app/components/ProductCard.vue b/app/components/shared/ProductCard.vue similarity index 100% rename from app/components/ProductCard.vue rename to app/components/shared/ProductCard.vue diff --git a/app/components/QuestionList.vue b/app/components/shared/QuestionList.vue similarity index 100% rename from app/components/QuestionList.vue rename to app/components/shared/QuestionList.vue diff --git a/app/components/SolutionCard.vue b/app/components/shared/SolutionCard.vue similarity index 100% rename from app/components/SolutionCard.vue rename to app/components/shared/SolutionCard.vue diff --git a/nuxt.config.ts b/nuxt.config.ts index 715fddd..8e12d17 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -18,6 +18,13 @@ export default defineNuxtConfig({ }, }, + components: [ + { + path: '~/components', + pathPrefix: false, + }, + ], + runtimeConfig: { public: { meili: {