basicstack.org/nuxt.config.ts
Paperclip CTO a7bd527793 Initial commit: Move basicstack.org frontend to Forgejo
Migrate the Nuxt 3 + Vue 3 SSR frontend application for basicstack.org to our self-hosted Forgejo instance. This repository will serve as the source for all future development and deployment of the basicstack.org website.

The application includes:
- Nuxt 3 + Vue 3 SSR setup
- Directus CMS integration
- Tailwind CSS styling
- Kubernetes deployment manifests
- Docker containerization

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-28 12:32:23 +00:00

45 lines
996 B
TypeScript

export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: false },
modules: [
'@nuxt/image',
'@nuxtjs/sitemap',
],
css: ['~/assets/css/main.css'],
runtimeConfig: {
public: {
directusUrl: process.env.DIRECTUS_URL || 'https://directus.basicstack.de',
siteUrl: process.env.SITE_URL || 'https://basicstack.org',
}
},
app: {
head: {
htmlAttrs: { lang: 'en' },
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'format-detection', content: 'telephone=no' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
],
}
},
sitemap: {
siteUrl: process.env.SITE_URL || 'https://basicstack.org',
},
nitro: {
preset: 'node-server',
},
image: {
domains: ['directus.basicstack.de'],
},
})