add from git:
yarn add @lambdo/graphql-simple-explorer
import { simpleExplorer, useGraphqlStore } from '@lambdo/graphql-simple-explorer'
createApp(App)
.use(simpleExplorer)
.mount('#app')
<template>
<GraphqlSimpleExplorer
checkbox-class="checkbox checkbox-xs"
select-class="select w-full max-w-xs"
padding-class="px-4"
:schema="testSchema"
:allowed-fields="['historicalinvoices']"
:fieldRenames="{ historicalinvoices: 'facturas', created_at: 'fecha' }"
/>
</template>
<script setup lang="ts">
import testSchema from "@/assets/testSchema.json";
import { useGraphqlStore } from "./composables/GraphqlStore";
const { queryString, store } = useGraphqlStore();
</script>