-
Notifications
You must be signed in to change notification settings - Fork 1
/
nuxt.config.ts
61 lines (61 loc) · 1.8 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
export default defineNuxtConfig({
app: {
pageTransition: { name: 'page', mode: 'out-in' },
head: {
htmlAttrs: {
lang: 'en-US',
},
titleTemplate: '%s',
link: [
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/apple-touch-icon.png',
},
{ rel: 'icon', sizes: '32x32', href: '/favicon-32x32.png' },
{ rel: 'icon', sizes: '16x16', href: '/favicon-16x16.png' },
// { rel: 'manifest', href: '/site.webmanifest' },
// {
// rel: 'alternate',
// href: '/rss.xml',
// type: 'application/rss+xml',
// title: 'RSS feed',
// },
],
meta: [
{ property: 'og:site_name', content: 'Sergio Hernández Gutiérrez' },
{ property: 'og:type', content: 'website' },
],
},
},
nitro: {
prerender: {
crawlLinks: true,
failOnError: false,
},
},
target: 'static',
experimental: {
componentIslands: true,
},
runtimeConfig: {
public: {
siteUrl: 'https://serhez.github.io',
},
},
typescript: {
shim: false,
},
content: {
highlight: {
theme: 'vitesse-dark',
preload: ['php', 'ts', 'bash', 'md', 'yaml', 'html', 'vue'],
},
},
modules: ['@nuxtjs/tailwindcss', '@nuxt/content', '@nuxt/image', 'nuxt-icon', 'nuxt-primevue'],
css: ['vue-final-modal/style.css'],
primevue: {
// ripple: true,
cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities',
},
});