-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
93 lines (85 loc) · 2.38 KB
/
nuxt.config.js
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
91
92
93
export default {
ssr: false,
rootDir: process.cwd(),
buildDir: process.cwd() + '/.nuxt/',
head: {
title: 'pbielanin - front-end developer personal website',
htmlAttrs: {
lang: 'en'
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ name: 'format-detection', content: 'telephone=no' },
{ name:'description', content: 'Personal website of Patryk Bielanin front-end developer - vue and nuxt plugins, discord themes - check out!' },
{ name:'og:title', content: 'Patryk Bielanin - front-end developer personal website' },
{ name:'og:type', content: 'website' },
{ name:'og:author', content: '@PatrykBielanin' },
{ name:'og:description', content: 'Personal website of Patryk Bielanin front-end developer - vue and nuxt plugins, discord themes - check out!' },
{ property: 'og:url', content: 'https://pbielanin.pl' },
{ name:'twitter:site', content: '@PatrykBielanin' },
{ name:'twitter:title', content: 'pbielanin' },
{ name:'twitter:card', content: 'summary_large_image' },
{ property: 'og:locale', content: 'en'},
{ property: "og:locale:alternate", content: "pl_PL" }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.png' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap' }
]
},
css: [
'@/assets/css/style.css'
],
fontawesome: {
icons: {
solid: [
'faAt',
'faAngleUp',
'faStar',
'faStream',
'faBars',
'faEnvelope',
'faFilePdf',
'faGlobe',
'faMouse',
'faHandPointer'
],
brands: [
'faGithub',
'faDiscord',
'faTwitter',
'faLinkedin'
]
}
},
plugins: [
{ src: '@/plugins/vue-awesome-swiper', mode: 'client' },
'@/plugins/v-tooltip.js',
'@/plugins/axios.js'
],
components: [
{
path: '@/components',
pathPrefix: false,
},
],
buildModules: [
'@nuxtjs/fontawesome',
'@nuxt/postcss8'
],
modules: [
['@nuxtjs/localforage', {
name: 'pbielanin'
}],
'@nuxtjs/axios'
],
build: {
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
}
}