initial commit
This commit is contained in:
commit
4fc3bb0a01
202 changed files with 41729 additions and 0 deletions
87
resources/js/Pages/App.vue
Normal file
87
resources/js/Pages/App.vue
Normal file
|
@ -0,0 +1,87 @@
|
|||
<template>
|
||||
<div>
|
||||
<Link href="/app/login">Login</Link>
|
||||
<h1 class="text-red-500">Welcome, {{ testing }}</h1>
|
||||
<n-button>Testing</n-button>
|
||||
<n-input v-bind:value="testing"></n-input>
|
||||
|
||||
<div class="features">
|
||||
<ul>
|
||||
<li v-for="user in users">
|
||||
<span>{{ user.login }}</span>
|
||||
<span>{{ user.email }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- <script>
|
||||
import { Link } from '@inertiajs/inertia-vue3';
|
||||
import DefaultLayout from '@/Layouts/Default.vue';
|
||||
import { NInput, NButton } from 'naive-ui';
|
||||
|
||||
export default {
|
||||
layout: DefaultLayout,
|
||||
props: {
|
||||
testing: String,
|
||||
users: Array,
|
||||
},
|
||||
|
||||
components: {
|
||||
Link,
|
||||
NInput,
|
||||
NButton,
|
||||
},
|
||||
};
|
||||
</script> -->
|
||||
|
||||
<!-- <script lang="js">
|
||||
import { Link } from '@inertiajs/vue3'
|
||||
import DefaultLayout from '../Layouts/Default.vue';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
testing: String,
|
||||
},
|
||||
|
||||
components: {
|
||||
Link,
|
||||
DefaultLayout
|
||||
}
|
||||
}
|
||||
</script> -->
|
||||
|
||||
<script lang ="ts">
|
||||
import { Component, Vue, Prop } from 'vue-facing-decorator';
|
||||
import IUser from "App/Models/User";
|
||||
import { Link } from '@inertiajs/vue3';
|
||||
import DefaultLayout from '@/Layouts/Default.vue';
|
||||
import { NInput, NButton } from 'naive-ui';
|
||||
|
||||
@Component({
|
||||
options: {
|
||||
layout: DefaultLayout,
|
||||
},
|
||||
name: 'AppComponent',
|
||||
components: {
|
||||
Link,
|
||||
NInput,
|
||||
NButton,
|
||||
},
|
||||
})
|
||||
export default class AppComponent extends Vue {
|
||||
// Component Property
|
||||
@Prop({
|
||||
type: String,
|
||||
default: () => (""),
|
||||
})
|
||||
testing: string;
|
||||
|
||||
@Prop({
|
||||
type: Array,
|
||||
default: () => ([]),
|
||||
})
|
||||
users: Array<IUser>;
|
||||
}
|
||||
</script>
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue