Files
buildpath/frontend/nuxt.config.ts
vhaudiquet a874fd6c21
All checks were successful
pipeline / build-and-push-images (push) Successful in 36s
pipeline / deploy (push) Successful in 7s
Use NuxtImg
2024-11-25 00:55:02 +01:00

28 lines
803 B
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: true},
'/champion/**' : {swr: true}
},
app: {
head: {
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"}
]
}
},
modules: ['@nuxt/image']
})