-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathnuxt.config.js
More file actions
66 lines (60 loc) · 1.98 KB
/
nuxt.config.js
File metadata and controls
66 lines (60 loc) · 1.98 KB
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
export default {
components: true,
target: "static",
css: ["~/assets/styles.scss"],
plugins: ["~/plugins/loadscript.js", "~/plugins/bootstrap.js", "~/plugins/lazyimage.js"],
modules: ["@nuxt/content"],
build: {
transpile: ["vue-plugin-load-script", "@nuxtjs/fontawesome", "vue-agile"]
},
generate: {
fallback: "404.html"
},
buildModules: [
"@aceforth/nuxt-optimized-images",
"@nuxtjs/eslint-module",
["@nuxtjs/fontawesome", {
component: "fa",
suffix: false
}]
],
optimizedImages: {
optimizeImages: true
// optimizeImagesInDev: true
},
server: {
port: 3000,
host: "0.0.0.0"
},
html: {
script: [
{
crossorigin: "anonymous",
src: "https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v9.0",
nonce: "njSg3Gia",
async: true,
defer: true
}
]
},
head: {
title: "ComSSA",
titleTemplate: "%s / ComSSA",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" },
{ description: "Computer Science Students Association" },
{ property: "og:title", content: "ComSSA" },
{ property: "og:description", content: "Computer Science Students Association" },
{ property: "og:type", content: "website" },
{ property: "og:url", content: "https://www.comssa.org.au/" },
{ property: "og:image", content: "https://www.comssa.org.au/og.jpg" },
{ property: "og:image:alt", content: "Large ComSSA Logo" },
{ property: "theme-color", content: "#4559A7" },
{ property: "twitter:card", content: "summary_large_image" }
],
link: [
{ rel: "icon", href: "/favicon.ico" }
]
}
}