-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
44 lines (44 loc) · 1018 Bytes
/
nuxt.config.ts
File metadata and controls
44 lines (44 loc) · 1018 Bytes
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
modules: [
'@nuxtjs/tailwindcss',
'nuxt-icon'
],
app: {
head: {
title: 'Web Utilities',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
],
script: [
{
src: 'https://www.googletagmanager.com/gtag/js?id=G-973WPBLPVH',
async: true
},
{
children: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-973WPBLPVH');
`
}
]
}
},
runtimeConfig: {
public: {
githubToken: process.env.FEEDBACK_TOKEN
}
},
nitro: {
preset: 'aws-amplify',
awsAmplify: {
catchAllStaticFallback: true,
runtime: 'nodejs20.x'
}
}
})