-
Notifications
You must be signed in to change notification settings - Fork 6
/
nuxt.config.ts
49 lines (38 loc) · 875 Bytes
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import siteMetadata from './app/siteMetadata'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
extends: ['@nuxt/ui-pro'],
compatibilityDate: '2024-08-12',
future: {
compatibilityVersion: 4,
},
devtools: {
enabled: true,
},
modules: ['@nuxt/ui', '@nuxtjs/seo', '@nuxt/eslint', 'nuxt-auth-utils', 'nuxt-umami'],
app: {
head: {
noscript: [{ textContent: 'Javascript is required' }],
},
},
devServer: {
port: 4004,
},
imports: {
dirs: ['./types/**'],
},
routeRules: {
'/traffic-data': { ssr: false },
},
site: {
url: 'https://github-traffic-viewer.netlify.app',
name: siteMetadata.projectName,
description: siteMetadata.description,
defaultLocale: 'en',
},
umami: {
ignoreLocalhost: true,
proxy: 'cloak',
logErrors: true,
},
})