generated from Seekra/repository-template
Use base layout in the app root component
This commit is contained in:
+3
-2
@@ -17,6 +17,7 @@ limitations under the License.
|
|||||||
<script setup>
|
<script setup>
|
||||||
import Navbar from './features/nav/components/Navbar.vue';
|
import Navbar from './features/nav/components/Navbar.vue';
|
||||||
import Footer from './features/footer/components/Footer.vue';
|
import Footer from './features/footer/components/Footer.vue';
|
||||||
|
import BaseLayout from './layouts/BaseLayout.vue';
|
||||||
|
|
||||||
import { useColorScheme } from './features/colorScheme/composables/useColorScheme';
|
import { useColorScheme } from './features/colorScheme/composables/useColorScheme';
|
||||||
import { ref, provide, watch } from 'vue';
|
import { ref, provide, watch } from 'vue';
|
||||||
@@ -35,9 +36,9 @@ watch(colorScheme, val => updateColorScheme(val))
|
|||||||
>
|
>
|
||||||
<Navbar />
|
<Navbar />
|
||||||
|
|
||||||
<div class="main-content">
|
<BaseLayout class="main-content">
|
||||||
<router-view />
|
<router-view />
|
||||||
</div>
|
</BaseLayout>
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user