-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
90 lines (90 loc) · 2.05 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
sitemap: {
enabled: true
},
schemaOrg: {
enabled: true,
name: 'Aryabh',
identity: 'Person',
image: '/aaafd1f5-7b36-4f98-b2c6-b6784a0df7b3.webp',
description: 'Aryabh Thakur, is a full stack developer and owner of SSH.Studio, the software development studio behind Unoversion.comm, Hyperwafer.com, Techonscroll.com and many more projects.',
sameAs: [
'https://github.com/aryabhthakur',
'https://twitter.com/_aryabh',
'https://dribbble.com/_aryabh'
],
url: 'https://aryabh.com'
},
ogImage: {
enabled: true
},
seo: {
fallbackTitle: true
},
app: {
head: {
titleTemplate: '%s %separator %siteName',
templateParams: {
separator: '-'
}
}
},
site: {
url: 'https://aryabh.com',
name: 'Aryabh',
description: 'Hi, I am Aryabh. Welcome to my portfolio / blog / showcase site.',
},
devtools: { enabled: false },
runtimeConfig: {
public: {
GITHUB_URL: process.env.GITHUB_URL,
TWITTER_URL: process.env.TWITTER_URL,
DRIBBBLE_URL: process.env.DRIBBBLE_URL,
},
},
modules: ['@nuxt/content', '@nuxtjs/google-fonts', "@nuxt/image","@vueuse/motion/nuxt","nuxt-icon","@nuxtjs/seo"],
css: ['~/assets/css/main.css'],
googleFonts:{
preconnect: true,
prefetch: true,
preload: true,
download:false,
useStylesheet: true,
families: {
Inter: ['100','200','300','400','500','600','700','800','900'],
},
outputDir:'assets/fonts'
},
vite: {
server: {
watch:{
usePolling: true,
} ,
hmr: {
protocol: "ws",
host: "localhost",
}
}
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
content:{
documentDriven: true,
sources:{
content: {
driver: 'fs',
prefix: '/article',
base: __dirname + '/content'
},
data:{
driver: "fs",
base: __dirname + "/data"
}
}
}
})