init
This commit is contained in:
16
app/[locale]/page.tsx
Normal file
16
app/[locale]/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import HomeComponent from "@/components/home";
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Home() {
|
||||
return <HomeComponent />;
|
||||
}
|
||||
|
||||
export async function generateStaticParams() {
|
||||
return [
|
||||
{ locale: 'en' },
|
||||
{ locale: 'zh' },
|
||||
// { locale: 'vi' },
|
||||
// { locale: 'ja' },
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user