mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
60 lines
1.2 KiB
TypeScript
60 lines
1.2 KiB
TypeScript
|
|
// 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,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
devServer: {
|
||
|
|
port: 5173,
|
||
|
|
},
|
||
|
|
schemaOrg: {
|
||
|
|
enabled: false,
|
||
|
|
},
|
||
|
|
ogImage: {
|
||
|
|
enabled: false,
|
||
|
|
},
|
||
|
|
vite: {
|
||
|
|
define: {
|
||
|
|
__VERSION__: JSON.stringify("0.4"),
|
||
|
|
},
|
||
|
|
server: {
|
||
|
|
hmr: {
|
||
|
|
clientPort: 5173,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
runtimeConfig: {
|
||
|
|
public: {
|
||
|
|
language: "en-US",
|
||
|
|
titleSeparator: "·",
|
||
|
|
siteName: "Lysand",
|
||
|
|
trailingSlash: true,
|
||
|
|
apiHost: "localhost:8080",
|
||
|
|
},
|
||
|
|
},
|
||
|
|
site: {
|
||
|
|
url: "https://social.lysand.org",
|
||
|
|
},
|
||
|
|
});
|