diff --git a/docs/src/app/teste/[userId]/page.tsx b/docs/src/app/teste/[userId]/page.tsx new file mode 100644 index 0000000..7fe5e0f --- /dev/null +++ b/docs/src/app/teste/[userId]/page.tsx @@ -0,0 +1,21 @@ +export async function generateStaticParams(context: any) { + const usersId: string[] = ["1", "2", "3", "de", "en", "pt"]; + + return usersId.map((userId) => { + return { + userId, + }; + }); +} + +interface PageProps { + params: { userId: string }; +} + +export default function Page({ params: { userId } }: PageProps) { + return ( +
+

{userId}

+
+ ); +}