2024-04-15 03:16:57 +02:00
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
|
modules: [
|
|
|
|
|
"@nuxtjs/seo",
|
|
|
|
|
"@nuxtjs/tailwindcss",
|
|
|
|
|
"@vueuse/nuxt",
|
2024-04-22 09:38:51 +02:00
|
|
|
"nuxt-headlessui",
|
|
|
|
|
"@nuxt/fonts",
|
|
|
|
|
"nuxt-icon",
|
|
|
|
|
"@vee-validate/nuxt",
|
2024-04-15 03:16:57 +02:00
|
|
|
],
|
|
|
|
|
app: {
|
|
|
|
|
head: {
|
|
|
|
|
link: [
|
|
|
|
|
{
|
|
|
|
|
rel: "icon",
|
|
|
|
|
href: "/favicon.png",
|
|
|
|
|
type: "image/png",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
htmlAttrs: { lang: "en-us" },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
nitro: {
|
2024-04-22 09:38:51 +02:00
|
|
|
preset: "static",
|
2024-04-15 03:16:57 +02:00
|
|
|
minify: true,
|
|
|
|
|
prerender: {
|
|
|
|
|
failOnError: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
schemaOrg: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
},
|
|
|
|
|
ogImage: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
},
|
|
|
|
|
vite: {
|
|
|
|
|
define: {
|
|
|
|
|
__VERSION__: JSON.stringify("0.4"),
|
|
|
|
|
},
|
2024-04-22 09:38:51 +02:00
|
|
|
server: {
|
|
|
|
|
hmr: {
|
|
|
|
|
clientPort: 3000,
|
|
|
|
|
host: "localhost",
|
|
|
|
|
protocol: "ws",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
veeValidate: {
|
|
|
|
|
autoImports: true,
|
|
|
|
|
componentNames: {
|
|
|
|
|
Form: "VeeForm",
|
|
|
|
|
Field: "VeeField",
|
|
|
|
|
FieldArray: "VeeFieldArray",
|
|
|
|
|
ErrorMessage: "VeeErrorMessage",
|
|
|
|
|
},
|
2024-04-15 03:16:57 +02:00
|
|
|
},
|
|
|
|
|
runtimeConfig: {
|
|
|
|
|
public: {
|
|
|
|
|
language: "en-US",
|
|
|
|
|
titleSeparator: "·",
|
|
|
|
|
siteName: "Lysand",
|
|
|
|
|
trailingSlash: true,
|
2024-04-22 09:38:51 +02:00
|
|
|
apiHost: "https://social.lysand.org",
|
2024-04-15 03:16:57 +02:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
site: {
|
|
|
|
|
url: "https://social.lysand.org",
|
|
|
|
|
},
|
|
|
|
|
});
|