Added openapi based api client

This commit is contained in:
GW_MC
2025-12-05 20:28:59 +08:00
parent 1c051f9502
commit a7524ab076
11 changed files with 1111 additions and 18 deletions

View File

@@ -1,5 +1,8 @@
import { Text } from '@radix-ui/themes';
import type { Route } from './+types/home';
import { useContext } from 'react';
import { useApi } from '../providers/ApiProvider';
import { useQuery } from '@tanstack/react-query';
export function meta({}: Route.MetaArgs) {
return [{ title: 'YANPM' }, { name: 'description', content: 'Welcome to Yet Another Nginx Proxy Manager!' }];