-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
46 lines (39 loc) · 1.03 KB
/
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
export default defineNuxtConfig({
devtools: { enabled: true },
modules: [
"@nuxt/eslint",
"@nuxt/ui",
"nuxt-headlessui",
"@vueuse/nuxt",
"@nuxtjs/plausible",
"@nuxtjs/seo",
],
site: {
url: "https://web-features.lttr.cz",
name: "Web features",
description: "Dashboard of new features available on the web.",
defaultLocale: "en",
},
robots: {
// not sure why but the meta tag was 'noindex, nofollow' with any
// combination of configuration i have tried
metaTag: false,
},
headlessui: {
prefix: "H",
},
plausible: {
ignoredHostnames: ["localhost"],
// disables console log of ignored events
// https://github.com/Barbapapazes/plausible-tracker/blob/main/src/plausible.ts#L51C29-L51C39
logIgnoredEvents: true,
apiHost: "https://plausible.lttr.cz",
},
$production: {
routeRules: {
// Features page generated on demand, revalidates in background, cached for 1 hour
"/": { swr: 60 * 60 },
},
},
compatibilityDate: "2024-07-08",
})