-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnuxt.config.ts
59 lines (50 loc) · 1012 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
50
51
52
53
54
55
56
57
58
59
import path from "path";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
// Nuxt-only config
telemetry: false,
compatibilityDate: "2024-04-03",
devtools: { enabled: false },
css: ["~/assets/core.scss"],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
app: {
head: {
link: [{ rel: "icon", href: "/favicon.ico" }],
},
},
nitro: {
experimental: {
websocket: true,
tasks: true,
},
scheduledTasks: {
"0 * * * *": ["cleanup:invitations"],
},
},
extends: ['./drop-base'],
// Module config from here down
modules: ["@nuxt/content", "vue3-carousel-nuxt"],
carousel: {
prefix: "Vue",
},
content: {
api: {
baseURL: "/api/v1/_content",
},
markdown: {
anchorLinks: false,
},
sources: {
content: {
driver: "fs",
prefix: "/docs",
base: path.resolve(__dirname, "docs"),
},
},
},
});