fixed route handling. added lucid with sqlite support

This commit is contained in:
Sockenklaus
2023-07-03 07:04:25 +02:00
parent bf92a1ed9a
commit f58c0c3245
16 changed files with 2340 additions and 100 deletions

View File

@@ -3,8 +3,8 @@
</template>
<script setup>
import { Link } from '@inertiajs/vue3'
import { h, ref, defineProps } from 'vue';
import { Link, usePage } from '@inertiajs/vue3'
import { h, ref } from 'vue';
import { NIcon, NButton } from 'naive-ui'
import {
GroupsFilled as Users,
@@ -12,9 +12,9 @@
LogOutFilled as Logout
} from '@vicons/material'
const props = defineProps(['route'])
const { request } = usePage().props
const activeKey = ref(props.route)
const activeKey = ref(request.url)
const menuOptions = ref([
{