-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
62 lines (55 loc) Β· 2.11 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { author, description, version } from "./package.json";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
runtimeConfig: {
app: {
website: {
title: "anthonypillotOS",
description,
url: author.url,
version,
logo: {
hero: {
white: "https://raw.githubusercontent.com/anthonypillot/assets/main/logo/svg/logo_anthonypillotOS_white.svg",
black: "https://raw.githubusercontent.com/anthonypillot/assets/main/logo/svg/logo_anthonypillotOS_black.svg",
},
os: {
raw: "https://raw.githubusercontent.com/anthonypillot/assets/main/logo/svg/logo_anthonypillotOS_OS.svg",
cutted: "https://raw.githubusercontent.com/anthonypillot/assets/main/logo/svg/logo_anthonypillotOS_OS_cutted.svg",
},
},
author: {
name: author.name,
url: author.url,
email: author.email,
},
link: {
linkedIn: "https://linkedin.com/in/anthony-pillot",
githubAccount: "https://github.com/anthonypillot",
githubRepository: "https://github.com/anthonypillot/anthonypillotOS",
githubOrganization: "https://github.com/size-up",
githubFreeGamesCatcherCore: "https://github.com/size-up/freegamescatcher-core",
sizeUpDocumentation: "https://docs.sizeup.cloud",
status: "https://status.monitoring.anthonypillot.com",
},
},
},
},
compatibilityDate: "2024-07-25",
css: ["@/assets/css/main.css"],
vite: {
css: {
preprocessorOptions: {
scss: {
additionalData: '@use "@/assets/css/_variables.css" as *;',
},
},
},
},
routeRules: {
"/": { swr: 21600 }, // Homepage generated on demand, revalidates in background, cached for 6 hours (21600 seconds)
"/tools/github/history-cleaner": { swr: 21600 }, // Page generated on demand, revalidates in background, cached for 6 hours (21600 seconds),
},
modules: ["@nuxt/image", "@nuxt/test-utils/module", "@nuxtjs/tailwindcss"],
devtools: { enabled: true },
});