This commit is contained in:
2025-05-28 15:56:01 +02:00
parent 0a76549c0c
commit 7e2df27d9c
20 changed files with 7019 additions and 3659 deletions

View File

@ -18,18 +18,19 @@ export default defineNuxtConfig({
modules: ["@pinia/nuxt", "@nuxt/eslint", "@nuxt/ui", "@nuxtjs/i18n"],
i18n: {
locales: [
{ code: "pl", file: "pl.json", name: "Polski", icon: "emojione:flag-for-poland" },
{ code: "en", file: "en.json", name: "English", icon: "emojione:flag-for-united-kingdom" },
],
lazy: true,
defaultLocale: "en",
strategy: "prefix",
bundle: {
optimizeTranslationDirective: false,
},
},
// @nuxtjs/i18n"
// i18n: {
// locales: [
// { code: "pl", name: "Polski", icon: "emojione:flag-for-poland" },
// { code: "en", name: "English", icon: "emojione:flag-for-united-kingdom" },
// ],
// lazy: true,
// defaultLocale: "en",
// strategy: "prefix",
// bundle: {
// optimizeTranslationDirective: false,
// },
// },
css: ["@/assets/fonts.css", "@/assets/main.css"],
vite: {
plugins: [tailwindcss()],