removed unplugin. Working on better performance in dev mode...

This commit is contained in:
Sockenklaus
2023-07-10 17:16:27 +02:00
parent 360fa51607
commit fdb7eae847
13 changed files with 1550 additions and 13578 deletions

View File

@@ -63,7 +63,7 @@
function flattenObject(input: Object) {
if (input === null) return input
return Object.values(input).map((value) => Object.entries(value)).flat().reduce((acc: Array<Object>, [key, value]) => {
return Object.values(input).map((value: any) => Object.entries(value)).flat().reduce((acc: Array<Object>, [key, value]) => {
acc.push({[key]: value});
return acc;
}, []);

View File

@@ -10,12 +10,13 @@
</template>
<script lang="ts" setup>
import { Link, usePage } from '@inertiajs/vue3'
import { h, ref } from 'vue';
import type { Ref, Component } from 'vue'
import type { MenuOption } from 'naive-ui'
import type { User } from '../types/User'
import { NIcon } from 'naive-ui'
import { Link, usePage } from '@inertiajs/vue3'
import { h, ref } from 'vue';
import { NIcon, NMenu } from 'naive-ui'
import {
GroupsFilled as Users,
EventNoteFilled as Events,