Files
ToBePlayed-Frontend/package.json
T
lobo c8f1d66cd2 Add i18n, routing and dark-mode support
Introduce internationalization and basic routing: add i18n initialization (src/i18n.js), translation files (public/i18n/en.json, de.json), and wire i18n into the app (import in main.jsx). Update App.jsx to use react-router (BrowserRouter, Routes) and react-i18next (useTranslation), provide simple Landing/Login/Imprint pages, a language toggle and a dark-mode toggle. Add dependencies in package.json (i18next, i18next-http-backend, react-i18next, react-router-dom) and small Tailwind style tweak (custom-variant for dark) in src/style.css.
2026-03-28 09:29:39 +01:00

29 lines
636 B
JSON

{
"name": "tobeplayed-frontend",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@mdi/font": "~7.4.47",
"@tailwindcss/vite": "~4.2.2",
"i18next": "~26.0.0",
"i18next-http-backend": "~3.0.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-i18next": "~17.0.0",
"react-router-dom": "~7.13.2"
},
"devDependencies": {
"@vitejs/plugin-react": "^6.0.1",
"autoprefixer": "~10.4.27",
"postcss": "~8.5.8",
"tailwindcss": "~4.2.2",
"vite": "^8.0.1"
}
}