-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
73 lines (64 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
63
64
65
66
67
68
69
70
71
72
73
export default defineNuxtConfig({
runtimeConfig: {
public: {
api_url: process.env.API_URL || 'https://buggregator.localhost',
ws_url: process.env.WS_URL || 'ws:https://buggregator.localhost/connection/websocket',
examples_url: process.env.EXAMPLES_URL || 'https://buggregator.localhost',
buggregator_url: process.env.BUGGREGATOR_URL || 'https://demo.buggregator.localhost',
}
},
app: {
head: {
title: "Buggregator - The Ultimate Debugging Server for PHP",
htmlAttrs: {
lang: "en",
},
meta: [
{charset: "utf-8"},
{name: "viewport", content: "width=device-width, initial-scale=1"},
{hid: "description", name: "description", content: "Buggregator is a free Swiss Army knife for developers. What makes it special is that it offers a range of features that you would usually find in various paid tools, but it's available for free."},
{name: "format-detection", content: "telephone=no"},
],
link: [
{rel: "icon", type: "image/png", size: "16x16", href: "/favicon/favicon-16x16.png"},
{rel: "icon", type: "image/png", size: "32x32", href: "/favicon/favicon-32x32.png"},
{rel: "apple-touch-icon", sizes: "180x180", href: "/favicon/apple-touch-icon.png"},
// {rel: "manifest", sizes: "180x180", href: "assets/site.webmanifest"},
],
},
},
gtag: {
id: null,
},
plugins: [
'app/plugins/logger.ts',
'app/plugins/centrifugo.ts',
'app/plugins/apiClient.ts',
],
ssr: false,
router: {
options: {
hashMode: false
}
},
css: [
'~/assets/css/main.css'
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
dir: {
static: 'public',
},
typescript: {
strict: true,
},
modules: [
'nuxt-gtag',
"@pinia/nuxt",
'nuxt-anchorscroll',
],
})