-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
47 lines (44 loc) · 1.26 KB
/
nuxt.config.ts
File metadata and controls
47 lines (44 loc) · 1.26 KB
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
import tailwindcss from "@tailwindcss/vite";
const sessionRestoreEnabled = process.env.SESSION_RESTORE_ENABLED !== 'false'
const llmEndpointEnabled = process.env.ENABLE_LLM_ENDPOINT === 'true'
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devServer: {
host: '0.0.0.0'
},
devtools: { enabled: true },
modules: ['@nuxt/eslint', '@nuxt/test-utils', '@nuxt/ui'],
vite: {
plugins: [tailwindcss()]
},
app: {
head: {
link: [
{ rel: 'icon', type: 'image/png', href: '/favicon-96x96.png', sizes: '96x96' },
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' },
{ rel: 'shortcut icon', href: '/favicon.ico' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png', sizes: '180x180' },
{ rel: 'manifest', href: '/site.webmanifest' },
],
meta: [
{ name: 'apple-mobile-web-app-title', content: 'HTTP Inspector' },
],
},
},
css: ['~/assets/css/main.css'],
postcss: {
plugins: {
"@tailwindcss/postcss": {},
autoprefixer: {},
},
},
runtimeConfig: {
sessionRestoreEnabled,
llmEndpointEnabled,
public: {
sessionRestoreEnabled,
llmEndpointEnabled,
},
},
spaLoadingTemplate: 'spa-loading-template.html',
})