All checks were successful
pipeline / build-and-push-images (push) Successful in 3m7s
Upgraded dependencies
60 lines
1.5 KiB
TypeScript
60 lines
1.5 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2024-04-03',
|
|
devtools: { enabled: true },
|
|
css: ['~/assets/css/main.css'],
|
|
|
|
routeRules: {
|
|
'/' : {prerender: false, swr: true, ssr: true},
|
|
'/champion/**' : {swr: true}
|
|
},
|
|
|
|
site: {
|
|
url: 'https://buildpath.win',
|
|
name: 'BuildPath',
|
|
description: 'BuildPath: a tool for League of Legends champions runes and build paths.',
|
|
defaultLocale: 'en', // not needed if you have @nuxtjs/i18n installed
|
|
},
|
|
sitemap: {
|
|
sources: [
|
|
'/api/routemap'
|
|
]
|
|
},
|
|
|
|
app: {
|
|
head: {
|
|
htmlAttrs: {
|
|
lang: 'en',
|
|
},
|
|
link: [
|
|
{ rel: 'icon', type: 'image/png', sizes: '96x96', href: '/favicon-96x96.png' },
|
|
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
|
|
{ rel: 'shortcut icon', href: '/favicon.ico' },
|
|
{ rel: 'apple-touch-icon', sizes: "180x180", href: '/apple-touch-icon.png' },
|
|
{ rel: 'manifest', href: '/site.webmanifest' },
|
|
],
|
|
meta: [
|
|
{name: "apple-mobile-web-app-title", content:"BuildPath"},
|
|
],
|
|
charset: 'utf-8',
|
|
viewport: 'width=device-width, initial-scale=1'
|
|
}
|
|
},
|
|
|
|
modules: ['@nuxt/image', '@nuxt/fonts', '@nuxtjs/seo', 'nuxt-umami'],
|
|
|
|
umami: {
|
|
id: '98ef53ef-5fe1-4e29-a35e-56dc1283c212',
|
|
host: 'https://umami.vhaudiquet.fr',
|
|
autoTrack: true,
|
|
domains: ['buildpath.win'],
|
|
ignoreLocalhost: true,
|
|
enabled: true,
|
|
},
|
|
|
|
fonts: {
|
|
defaults: {
|
|
weights: [200, 400],
|
|
},
|
|
},
|
|
}) |