forked from borisadimov/doug-holt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
83 lines (75 loc) · 2.52 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
var getPortfolioRoutes = require("./db.js").getPortfolioRoutes;
module.exports = {
/*
** Headers of the page
*/
head: {
title: "Doug Holt Photography",
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ name: "author", content: "Doug Holt" },
{
hid: "description",
name: "description",
content:
"Doug Holt is a commercial product photographer specializing in product photography, still life, lookbook and ecommerce photography in New York City."
},
{ name: "Copyright", content: "Doug Holt" },
{ name: "robots", content: "index, follow" },
{ property: "og:locale", content: "en_US" },
{ property: "og:type", content: "website" },
{ property: "og:title", content: "Doug Holt Photography" },
{
property: "og:description",
content:
"Doug Holt is a commercial product photographer specializing in product photography, still life, lookbook and ecommerce photography in New York City."
},
{ property: "og:url", content: "http://dougholtphotography.com" },
{ property: "og:image", content: "http://dougholtphotography.com/doug-holt_photography.jpg" },
{ name: "twitter:card", content: "summary" },
{ name: "twitter:site", content: "@DougHolt" },
{ name: "twitter:title", content: "Doug Holt Studios" },
{
name: "twitter:description",
content:
"Doug Holt is a commercial product photographer specializing in product photography, still life, lookbook and ecommerce photography in New York City."
},
{
name: "twitter:image",
content: "http://dougholtphotography.com/doug-holt_photography.jpg"
},
{ name: "google-site-verification", content: "XH8A9vU487otKoEhGGovB0Vf79BkXsq1eix9QnGWj0I" }
],
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
plugins: [{ src: "~plugins/ga.js", ssr: false }],
modules: [["@nuxtjs/google-tag-manager", { id: "GTM-T5TJJZQ" }]]
},
/*
** Customize the progress-bar color
*/
loading: "~/components/Loader.vue",
/*
** Build configuration
*/
css: ["assets/main.css"],
build: {
/*
** Run ESLINT on save
*/
babel: {
presets: ["es2015", "vue-app"],
plugins: ["transform-class-properties"]
},
router: {
middleware: "switchPortfolioItems"
},
extend(config, ctx) {
if (ctx.isClient) {
}
}
},
generate: {
routes: getPortfolioRoutes
}
};