- Welcome to Next.js! -
- -
- Get started by editing pages/index.tsx
-
- Next.js + Tailwind CSS 2.0 -
-Documentation →
-Find in-depth information about Next.js features and API.
- - - -Learn →
-Learn about Next.js in an interactive course with quizzes!
- - - { + const router = useRouter() + //const { locale, locales, defaultLocale } = router + + return ( +Hello, world!
+Welcome to your internationalised page!
++ {/*
Current locale: {router.locale}
*/ + /*{' '} +Default locale: {router.defaultLocale}
*/ + /*{' '} +Configured locales: {JSON.stringify(router.locales)}
*/} ++ Welcome to Next.js! +
+ +
+ Get started by editing pages/index.tsx
+
+ Next.js + Tailwind CSS 2.0 +
+Documentation →
+Find in-depth information about Next.js features and API.
+ + + +Learn →
+Learn about Next.js in an interactive course with quizzes!
+ + + +Examples →
+Discover and deploy boilerplate example Next.js projects.
+ + + +Deploy →
++ Instantly deploy your Next.js site to a public URL with Vercel. +
+ +