init create-fias
This commit is contained in:
13
src/app/[locale]/page.tsx
Normal file
13
src/app/[locale]/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { getPosts } from '@/shared/config/api/testApi';
|
||||
import Welcome from '@/widgets/welcome';
|
||||
|
||||
export default async function Home() {
|
||||
const res = await getPosts({ _limit: 1 });
|
||||
console.log('SSR res', res.data);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Welcome />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user