You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
//import { defineNuxtConfig } from 'nuxt3'
|
|
|
|
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
modules: ['@nuxtjs/tailwindcss', '@nuxt/image', 'nuxt-icon', '@pinia/nuxt', 'nuxt-headlessui', 'nuxt-swiper'],
|
|
|
|
extends: ['nuxt-umami'],
|
|
|
|
image: {
|
|
|
|
domains: ['unboundedpress.org']
|
|
|
|
},
|
|
|
|
app: {
|
|
|
|
pageTransition: { name: 'page', mode: 'out-in' }
|
|
|
|
},
|
|
|
|
appConfig: {
|
|
|
|
umami: {
|
|
|
|
id: '51f4f246-9c2e-4a86-9ffb-7a7967d9013d',
|
|
|
|
host: 'https://analytics.umami.is/',
|
|
|
|
version: 2
|
|
|
|
},
|
|
|
|
},
|
|
|
|
nitro: {
|
|
|
|
prerender: {
|
|
|
|
crawlLinks: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
routeRules: {
|
|
|
|
"https://unboundedpress.org/api/*": {
|
|
|
|
swr: 60 * 60,
|
|
|
|
// or
|
|
|
|
cache: {
|
|
|
|
maxAge: 60 * 60
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|