unboundedpress/portfolio-nuxt/nuxt.config.ts

36 lines
900 B
TypeScript
Raw Permalink Normal View History

2023-06-11 23:53:56 +02:00
//import { defineNuxtConfig } from 'nuxt3'
2023-06-06 19:51:48 +02:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
2025-10-08 21:57:12 +02:00
modules: ['@nuxtjs/tailwindcss', '@nuxt/image', 'nuxt-icon', '@pinia/nuxt', 'nuxt-headlessui', 'nuxt-swiper'],
extends: ['nuxt-umami'],
2023-06-08 05:29:29 +02:00
image: {
domains: ['unboundedpress.org']
2023-06-10 01:24:44 +02:00
},
app: {
//baseURL: "/dev/",
2023-06-30 02:17:41 +02:00
pageTransition: { name: 'page', mode: 'out-in' },
head: {
viewport: 'width=device-width'
},
2023-06-11 23:53:56 +02:00
},
2025-10-08 21:57:12 +02:00
appConfig: {
umami: {
2023-06-11 23:53:56 +02:00
id: '51f4f246-9c2e-4a86-9ffb-7a7967d9013d',
2025-10-09 00:04:09 +02:00
host: 'https://cloud.umami.is/',
2025-10-08 21:54:27 +02:00
version: 2
2025-10-08 21:57:12 +02:00
},
2023-06-15 01:37:58 +02:00
},
routeRules: {
'/cv': { redirect: '/legacy/cv' },
'/works_list': { redirect: '/legacy/works_list' },
2023-08-28 19:28:57 +02:00
'/hdp': { redirect: '/a_history_of_the_domino_problem' },
},
nitro: {
prerender: { crawlLinks: true}
},
experimental: {
payloadExtraction: true
2023-06-08 05:29:29 +02:00
}
2023-06-06 19:51:48 +02:00
})