Ark
import { defineConfig } from 'astro/config';
import node from '@astrojs/node';
import vue from '@astrojs/vue';
import astroI18next from "astro-i18next";
import mdx from '@astrojs/mdx';
// https://astro.build/config
export default defineConfig({
// Project Structure
publicDir: './src/public/',
// Integrations and Plugins
integrations: [mdx(), vue(), astroI18next()],
// Security
security: {
checkOrigin: true
},
// Server Options
server: {
port: 1930,
host: true
// Use Server-Side Rendering
output: 'server',
adapter: node({
mode: 'standalone'
}),
// Vite
vite: {
hmr: false // Auto Reload
}
// Others
devToolbar: {
enabled: false
});