From 36bcf32a053c99713aec2181c6bc3b14081b5716 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Fri, 29 May 2026 23:35:54 +0200 Subject: [PATCH] Move legal modules into a feature directory --- .../Imprint.vue => features/legal/views/ImprintView.vue} | 0 .../legal/views/PrivacyPolicyView.vue} | 0 src/router/index.js | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{views/legal/Imprint.vue => features/legal/views/ImprintView.vue} (100%) rename src/{views/legal/PrivacyPolicy.vue => features/legal/views/PrivacyPolicyView.vue} (100%) diff --git a/src/views/legal/Imprint.vue b/src/features/legal/views/ImprintView.vue similarity index 100% rename from src/views/legal/Imprint.vue rename to src/features/legal/views/ImprintView.vue diff --git a/src/views/legal/PrivacyPolicy.vue b/src/features/legal/views/PrivacyPolicyView.vue similarity index 100% rename from src/views/legal/PrivacyPolicy.vue rename to src/features/legal/views/PrivacyPolicyView.vue diff --git a/src/router/index.js b/src/router/index.js index 2a2587b..7b04906 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -21,7 +21,7 @@ import SearchView from '../views/SearchView.vue'; import SearchResultsView from '@/features/search/views/SearchResultsView.vue'; import SettingsView from '@/features/settings/views/SettingsView.vue'; import NotFound from '../views/NotFound.vue'; -import PrivacyPolicy from '@/views/legal/PrivacyPolicy.vue'; +import PrivacyPolicyView from '@/features/legal/views/PrivacyPolicyView.vue'; const routes = [ { @@ -56,7 +56,7 @@ const routes = [ { path: '/privacy', name: 'privacyPolicy', - component: PrivacyPolicy, + component: PrivacyPolicyView, meta: { title: () => 'Privacy Policy' } @@ -83,4 +83,4 @@ router.afterEach(to => { }; }); -export default router; \ No newline at end of file +export default router;