frontend/nuxt.config.ts

52 lines
1.1 KiB
TypeScript
Raw Normal View History

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
"@nuxtjs/seo",
"@nuxtjs/tailwindcss",
"@vueuse/nuxt",
"@vue-email/nuxt",
],
app: {
head: {
link: [
{
rel: "icon",
href: "/favicon.png",
type: "image/png",
},
],
htmlAttrs: { lang: "en-us" },
},
},
nitro: {
preset: "bun",
minify: true,
prerender: {
failOnError: true,
},
},
schemaOrg: {
enabled: false,
},
ogImage: {
enabled: false,
},
vite: {
define: {
__VERSION__: JSON.stringify("0.4"),
},
},
runtimeConfig: {
public: {
language: "en-US",
titleSeparator: "·",
siteName: "Lysand",
trailingSlash: true,
apiHost: "https://lysand.localhost",
},
},
site: {
url: "https://social.lysand.org",
},
});