init
This commit is contained in:
commit
50117ff78d
22 changed files with 4532 additions and 0 deletions
17
src/modules/home/home.vue
Normal file
17
src/modules/home/home.vue
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<script setup>
|
||||
import Layout from "@/layout/Layout.vue";
|
||||
import { Head, Link } from "@inertiajs/vue3";
|
||||
|
||||
defineProps({ thread_id: Number, counter: Number });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Layout>
|
||||
<h1>Home</h1>
|
||||
<Head title="Welcome" />
|
||||
<h1 class="">Welcome</h1>
|
||||
<p>The thread id is '{{ thread_id }}'.</p>
|
||||
<p>The counter is at '{{ counter }}'.</p>
|
||||
<Link href="/test" class="p-button mt-4">To Test</Link>
|
||||
</Layout>
|
||||
</template>
|
||||
18
src/modules/home/test.vue
Normal file
18
src/modules/home/test.vue
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<script setup>
|
||||
import Layout from "@/layout/Layout.vue";
|
||||
import { Head, Link } from "@inertiajs/vue3";
|
||||
|
||||
defineProps({ thread_id: Number, counter: Number });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Layout>
|
||||
<h1>/test</h1>
|
||||
<Head title="Welcome" />
|
||||
<h1 class="">Welcome</h1>
|
||||
<p>The thread id is '{{ thread_id }}'.</p>
|
||||
<p>The counter is at '{{ counter }}'.</p>
|
||||
<Link href="/test" class="p-button mt-4 mr-2">Again!</Link>
|
||||
<Link href="/" class="p-button mt-4">Back Home</Link>
|
||||
</Layout>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue