feat(frontend): assignment pagina toont titel, link naar lp en beschrijving
This commit is contained in:
parent
4f09d004ab
commit
f847f6d606
6 changed files with 299 additions and 134 deletions
|
@ -1,11 +1,19 @@
|
|||
<script setup lang="ts">
|
||||
import AssignmentForm from "@/views/assignments/AssignmentForm.vue";
|
||||
|
||||
const sort = "new";
|
||||
|
||||
const handleSubmit = async (formData) => {
|
||||
/*await fetch('/api/assignments', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(formData),
|
||||
headers: { 'Content-Type': 'application/json' }
|
||||
});*/
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AssignmentForm :sort="sort"></AssignmentForm>
|
||||
<AssignmentForm :sort="sort" @submit="handleSubmit"></AssignmentForm>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue