mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-01-31 14:57:49 +00:00
✨ feat: Initialized project
This commit is contained in:
17
apps/web/app/page.tsx
Normal file
17
apps/web/app/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { api } from "@minikura/api";
|
||||
|
||||
async function fetchData() {
|
||||
const response = await api.index.get();
|
||||
return response;
|
||||
}
|
||||
|
||||
export default async function Page() {
|
||||
const data = await fetchData();
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>Hello React</h1>
|
||||
<pre>{JSON.stringify(data, null, 2)}</pre>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user