// 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 }, 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'], fonts: { defaults: { weights: [200, 400], }, }, })