feat(frontend): initialize Vue 3 + Vite project structure

This commit is contained in:
2025-06-17 07:54:41 +03:00
parent d7d61f9de3
commit df460f57ab
18 changed files with 2175 additions and 0 deletions

32
src/App.vue Normal file
View File

@@ -0,0 +1,32 @@
<template>
<header>
<nav>
<router-link to="/">Главная</router-link> | <router-link to="/login">Вход</router-link> |
<router-link to="/register">Регистрация</router-link>
</nav>
</header>
<main>
<!-- Здесь будут отображаться компоненты-страницы -->
<router-view />
</main>
</template>
<style scoped>
header {
background-color: #f0f0f0;
padding: 1rem;
text-align: center;
}
nav a {
margin: 0 1rem;
text-decoration: none;
color: #2c3e50;
}
nav a.router-link-exact-active {
font-weight: bold;
color: #42b983;
}
main {
padding: 1rem;
}
</style>