This is an example of using Next.js with Tailwind CSS and SimpleLocalize with flag-icons for language selector.
Selector code is in src/components/LanguageSelector.tsx
and src/components/LanguageSelector.module.css
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.