This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
98 lines (86 loc) · 2.33 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
94
95
96
97
98
export default {
head: {
title: "Jakub Suchenek portfolio",
htmlAttrs: {
lang: "en",
},
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "author", content: "Jakub Suchenek" },
{ name: "owner", content: "Jakub Suchenek" },
{ name: "copyright", content: "Jakub Suchenek" },
{ name: "reply-to", content: "jakub.suchenek.25@gmail.com" },
{ name: "application-name", content: "Jakub Suchenek portfolio" },
{
hid: "description",
name: "description",
content:
"Hello world! I'm Kuba, programmer and photographer. Check out my new portfolio, where I will be posting my new projects and photos.",
},
{ name: "theme-color", content: "#3AAFA9" },
{ name: "color-scheme", content: "dark light" },
{ name: "format-detection", content: "telephone=no" },
],
link: [
{
rel: "shortcut icon",
type: "image/png",
href: "/icon-x192.png",
sizes: "192x192",
},
{ rel: "apple-touch-icon", href: "/icon-x180.png", sizes: "180x180" },
{ rel: "preconnect", href: "https://i.imgur.com", crossorigin: true },
{ rel: "dns-prefetch", href: "https://i.imgur.com", crossorigin: true },
],
},
css: ["@/assets/scss/custom.scss"],
loading: {
color: "#3AAFA9",
height: "5px",
},
loadingIndicator: {
name: "circle",
color: "#3AAFA9",
background: "#CCCCCC",
},
plugins: [],
components: true,
buildModules: ["@nuxt/typescript-build"],
modules: [ "bootstrap-vue/nuxt", "@nuxtjs/axios" ],
axios: {
retry: { retries: 5 },
},
build: {
babel: {
compact: true,
},
},
bootstrapVue: {
bootstrapCSS: false,
bootstrapVueCSS: false,
icons: false,
componentPlugins: [],
components: [
"BContainer",
"BRow",
"BCol",
"BButton",
"BAlert",
"BImgLazy",
"BLink",
],
directivePlugins: [],
directives: [],
},
privateRuntimeConfig: {
imgurClientId: process.env.IMGUR_CLIENT_ID || "none",
imgurAlbumHash: process.env.IMGUR_ALBUM_HASH || "none",
},
publicRuntimeConfig: {
baseUrl:
process.env.NODE_ENV === "production"
? "https://jakub-suchenek.herokuapp.com"
: "http://localhost:3000",
},
}