generated from tem-plate/nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
73 lines (73 loc) · 1.5 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({
devtools: { enabled: true },
future: {
compatibilityVersion: 4,
},
devServer: {
port: 5111,
host: '0.0.0.0',
},
modules: [
'@nuxt/ui',
['nuxt-module-cli-shortcuts', {
rawMode: true,
}],
['unplugin-turbo-console/nuxt', {
specifiedEditor: 'cursor',
}],
'@nuxt/eslint',
'@vueuse/nuxt',
'@pinia/nuxt',
],
eslint: {
config: {
standalone: false,
},
},
icon: {
clientBundle: {
scan: true,
},
},
compatibilityDate: '2024-09-29',
nitro: {
routeRules: {
'/**': {
headers: {
'Cross-Origin-Embedder-Policy': 'require-corp',
'Cross-Origin-Opener-Policy': 'same-origin',
},
},
},
},
app: {
head: {
title: 'pkg-graph | Visualize the dependency graph of npm packages.',
link: [
{ rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' },
],
meta: [
{
property: 'og:image',
content: 'https://pkg-graph.info/og.png',
},
{
property: 'twitter:image',
content: 'https://pkg-graph.info/og.png',
},
{
property: 'twitter:card',
content: 'summary_large_image',
},
{
property: 'twitter:title',
content: 'Visualize the dependency graph of npm packages.',
},
{
property: 'twitter:domain',
content: 'pkg-graph.info',
},
],
},
},
})