add vue :(

This commit is contained in:
2026-09-07 16:04:27 +02:00
parent 425169722a
commit b65f46afd8
10 changed files with 483 additions and 55 deletions
+31
View File
@@ -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>