mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-09-13 10:49:21 +00:00
✨ feat: Initialized project
This commit is contained in:
@@ -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