fix: fixed the code for AdminMain
This commit is contained in:
parent
651fb2b1a1
commit
9f3754776f
@ -24,37 +24,27 @@ import ProjectComp from '../components/Project-comp.vue';
|
||||
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
<script setup lang="ts">
|
||||
|
||||
export default {
|
||||
name: "App",
|
||||
components: {
|
||||
Header,
|
||||
ProjectComp,
|
||||
import { ref } from "vue";
|
||||
|
||||
const projects = ref([
|
||||
{
|
||||
name: "Projet Alpha",
|
||||
link: "/project-alpha.html", // to test
|
||||
members: ["Alice", "Bob", "Charlie"],
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
projects: [
|
||||
{
|
||||
name: "Projet Alpha",
|
||||
link: "/project-alpha.html", // to test
|
||||
members: ["Alice", "Bob", "Charlie"],
|
||||
},
|
||||
{
|
||||
name: "Projet Beta",
|
||||
link: "./project-beta.html", // to test
|
||||
members: ["David", "Eve", "Frank"],
|
||||
},
|
||||
],
|
||||
|
||||
rendezVous: [
|
||||
{ projectName: "Projet Alpha", date: "2025-03-10", lieu: "P106" },
|
||||
{ projectName: "Projet Beta", date: "2025-04-15", lieu: "Td10" },
|
||||
],
|
||||
};
|
||||
{
|
||||
name: "Projet Beta",
|
||||
link: "./project-beta.html", // to test
|
||||
members: ["David", "Eve", "Frank"],
|
||||
},
|
||||
};
|
||||
]);
|
||||
|
||||
const rendezVous = ref([
|
||||
{ projectName: "Projet Alpha", date: "2025-03-10", lieu: "P106" },
|
||||
{ projectName: "Projet Beta", date: "2025-04-15", lieu: "Td10" },
|
||||
]);
|
||||
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user