-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
65 lines (65 loc) · 1.39 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
export default defineNuxtConfig({
compatibilityDate: '2024-07-01',
runtimeConfig: {
serverUrl: 'https://dash.globalping.io',
public: {
gpAuthUrl: process.env.GP_API_URL || 'https://auth.globalping.io',
directusUrl: process.env.DIRECTUS_URL || 'https://dash-directus.globalping.io',
googleMapsKey: process.env.GOOGLE_MAPS_KEY,
itemsPerTablePage: 10,
creditsPerAdoptedProbePerDay: 150,
},
},
app: {
head: {
titleTemplate: '%s Globalping Dashboard',
htmlAttrs: {
lang: 'en-us',
},
},
},
imports: {
scan: false,
},
ssr: false,
sourcemap: true,
devtools: { enabled: false },
devServer: { port: 13010 },
modules: [
'@nuxtjs/google-fonts',
'@nuxtjs/tailwindcss',
'@primevue/nuxt-module',
'@pinia/nuxt',
'@vueuse/nuxt',
'nuxt-icons',
],
css: [ 'primeicons/primeicons.css', '~/assets/css/base.css', '~/assets/css/global.css' ],
primevue: {
options: {
unstyled: true,
},
importPT: { as: 'Aura', from: '~/presets/aura' },
},
googleFonts: {
subsets: [
'latin',
],
families: {
Inter: [ 400, 700 ],
},
},
tailwindcss: {},
typescript: {
typeCheck: 'build',
},
$development: {
runtimeConfig: {
serverUrl: 'http://localhost:13010',
public: {
gpAuthUrl: process.env.GP_API_URL || 'http://localhost:13110',
directusUrl: process.env.DIRECTUS_URL || 'http://localhost:18055',
},
},
devtools: { enabled: true },
},
});