mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Починка админки полностью1д9
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
<template>
|
||||
<div class="min-h-screen flex flex-col bg-slate-100">
|
||||
<Header />
|
||||
<main class="flex-grow container mx-auto px-3 sm:px-4 py-4 sm:py-8">
|
||||
<router-view></router-view>
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
<router-view></router-view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import Header from './components/Header.vue';
|
||||
import Footer from './components/Footer.vue';
|
||||
// Компонент пустой, так как вся логика теперь в layouts
|
||||
</script>
|
3
frontend/src/assets/main.css
Normal file
3
frontend/src/assets/main.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
@@ -2,11 +2,11 @@ import { createApp } from 'vue';
|
||||
import { createPinia } from 'pinia';
|
||||
import App from './App.vue';
|
||||
import router from './router';
|
||||
import './index.css';
|
||||
import './assets/main.css';
|
||||
|
||||
const app = createApp(App);
|
||||
const pinia = createPinia();
|
||||
|
||||
app.use(pinia);
|
||||
app.use(createPinia());
|
||||
app.use(router);
|
||||
|
||||
app.mount('#app');
|
Reference in New Issue
Block a user