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>
45 lines
996 B
TypeScript
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'],
|
|
},
|
|
})
|