carpa-astro/astro.config.mjs

19 lines
438 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from "@tailwindcss/vite";
// https://astro.build/config
export default defineConfig({
i18n: {
defaultLocale: 'es', // The default language used as a fallback
locales: ['es', 'en', 'pt', 'fr'], // All supported languages on the site
routing: {
prefixDefaultLocale: true
}
},
vite: {
plugins: [tailwindcss()],
},
});