Complete Fedora Workstation 42 Install Guide
This commit is contained in:
+28
-18
@@ -1,30 +1,40 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
import { defineConfig, envField } from 'astro/config';
|
||||
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
import solidJs from "@astrojs/solid-js";
|
||||
|
||||
import mdx from "@astrojs/mdx";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
i18n: {
|
||||
locales: ["en", "th"],
|
||||
defaultLocale: "en",
|
||||
routing: {
|
||||
prefixDefaultLocale: true,
|
||||
redirectToDefaultLocale: false
|
||||
}
|
||||
},
|
||||
i18n: {
|
||||
locales: ["en", "th"],
|
||||
defaultLocale: "en",
|
||||
routing: {
|
||||
prefixDefaultLocale: true,
|
||||
redirectToDefaultLocale: false
|
||||
}
|
||||
},
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./src", import.meta.url))
|
||||
}
|
||||
}
|
||||
},
|
||||
env: {
|
||||
schema: {
|
||||
// Example value: https://movetolinux.example.com
|
||||
// If unset, code will use Astro.url.host instead, which is most likely "http://localhost:4321"
|
||||
ORIGIN: envField.string({ context: "server", access: "public", optional: true })
|
||||
}
|
||||
},
|
||||
|
||||
integrations: [solidJs()]
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./src", import.meta.url))
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
integrations: [solidJs(), mdx()]
|
||||
});
|
||||
Reference in New Issue
Block a user