Use base layout in the app root component

This commit is contained in:
2026-05-23 10:44:58 +02:00
parent b48a487d2f
commit def3a84e59
+3 -2
View File
@@ -17,6 +17,7 @@ limitations under the License.
<script setup>
import Navbar from './features/nav/components/Navbar.vue';
import Footer from './features/footer/components/Footer.vue';
import BaseLayout from './layouts/BaseLayout.vue';
import { useColorScheme } from './features/colorScheme/composables/useColorScheme';
import { ref, provide, watch } from 'vue';
@@ -35,9 +36,9 @@ watch(colorScheme, val => updateColorScheme(val))
>
<Navbar />
<div class="main-content">
<BaseLayout class="main-content">
<router-view />
</div>
</BaseLayout>
<Footer />
</div>