add vue :(
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import { Card } from '@3ba/vue';
|
||||
import Footer from "./components/Footer.vue";
|
||||
</script>
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ import { createApp } from 'vue';
|
||||
import App from './App.vue';
|
||||
import router from './router';
|
||||
import '../css/app.css'
|
||||
import "@3ba/styles";
|
||||
|
||||
createApp(App)
|
||||
.use(router)
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<footer>
|
||||
<slot>All rights reserved</slot>
|
||||
<template v-if="this.date">
|
||||
|
||||
• {{ this.year }}
|
||||
</template>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
new Date().getFullYear()
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
year: 0,
|
||||
};
|
||||
},
|
||||
props: {
|
||||
date: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.year = new Date().getFullYear();
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
@@ -0,0 +1,3 @@
|
||||
<template>
|
||||
asdf
|
||||
</template>
|
||||
@@ -1,21 +1,12 @@
|
||||
import { createRouterconst host = process.env.VITE_HMR_HOST || "localhost";
|
||||
const clientPort = process.env.VITE_HMR_CLIENTPORT || 5173;
|
||||
const protocol = process.env.VITE_HMR_PROTOCOL || "ws";
|
||||
, createWebHistory } from 'vue-router';
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import App from '../App.vue';
|
||||
import BirthdayView from '../pages/BirthdayView.vue';
|
||||
import TestingView from '../pages/TestingView.vue';
|
||||
import HomeView from '../pages/HomeView.vue';
|
||||
import NewsView from '../pages/NewsView.vue';
|
||||
|
||||
const routes = [
|
||||
{ path: '/',
|
||||
children:
|
||||
[
|
||||
{ path: '', component: BirthdayView },
|
||||
{ path: 'aero', component: TestingView },
|
||||
{ path: 'home', component: HomeView },
|
||||
{ path: 'hearsay', component: NewsView },
|
||||
{ path: '', component: HomeView },
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
<link rel="icon" href="{{ asset('favicon.ico') }}" type="image/x-icon">
|
||||
|
||||
<!-- Light mode favicon -->
|
||||
<link rel="icon" href="{{ asset('favicon-light.ico') }}" type="image/x-icon" media="(prefers-color-scheme: light)">
|
||||
<link rel="icon" href="{{ asset('logo_full_tall_light.svg') }}" type="image/x-icon" media="(prefers-color-scheme: light)">
|
||||
|
||||
<!-- Dark mode favicon -->
|
||||
<link rel="icon" href="{{ asset('favicon-dark.ico') }}" type="image/x-icon" media="(prefers-color-scheme: dark)">
|
||||
<link rel="icon" href="{{ asset('logo_full_tall_dark.svg') }}" type="image/x-icon" media="(prefers-color-scheme: dark)">
|
||||
|
||||
<title>Zártosztály</title>
|
||||
<title>{{ config('app.name') }}</title>
|
||||
@vite(['resources/js/app.js'])
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<div id="app" class="isolate"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user