Files
front/app.vue
T
2026-09-26 19:30:59 +10:00

21 lines
544 B
Vue

<script setup lang="ts">
/**
* Корневой компонент. Класс body задан на уровне страницы,
* потому что в исходной вёрстке главная и страница вузов различаются:
* index.html — «font-face-all», vus.html — «text-color».
*/
const route = useRoute();
useHead({
bodyAttrs: {
class: computed(() => (route.path === "/vus" ? "text-color" : "font-face-all")),
},
});
</script>
<template>
<div>
<NuxtPage />
</div>
</template>