-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
71 lines (58 loc) · 1.99 KB
/
nuxt.config.ts
File metadata and controls
71 lines (58 loc) · 1.99 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: true },
routeRules: {
'/dashboard': { redirect: '/' }
},
ssr: true,
app: {
head: {
charset: "utf-8",
viewport: "width=device-width, initial-scale=1, maximum-scale=1",
link: [
{
rel: 'stylesheet',
href: 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css'
},
{ rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css' },
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
{ rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap" },
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
],
script: [
{
src: 'https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/js/bootstrap.bundle.min.js',
tagPosition: 'bodyClose'
}
]
}
},
css: [
'/assets/css/global.css',
],
// build: {
// transpile: ['@libsql/hrana-client', '@libsql/isomorphic-ws']
// },
nitro: {
preset: 'bun',
experimental: {
websocket: true
}
},
modules: ['@vite-pwa/nuxt'],
pwa: {
registerType: 'autoUpdate',
manifest: {
name: 'NetIgnite',
short_name: 'NetIgnite',
start_url: '/',
description: 'NetIgnite - Power On Devices From Anywhere',
display: 'standalone',
orientation: 'portrait',
theme_color: '#ffffff',
background_color: '#0b0c1b',
}
}
});