-
Notifications
You must be signed in to change notification settings - Fork 4
/
nuxt.config.js
134 lines (133 loc) · 5.73 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
export default {
srcDir: 'src',
mode: 'universal',
env: {
baseUrl: process.env.BASE_URL || "http://localhost:3000"
},
/*
** Headers of the page
*/
head: {
title: '#四谷ラボ - 誰でも参加自由:未来志向の街のオープンイノベーションラボ',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1.0' },
{ hid: 'description', name: 'description', content: '#四谷ラボ はいつでも誰でも自由に参加して研究・交流・発信できる未来志向のオープンイノベーションラボです' },
{ hid: 'http-equiv', 'http-equiv': 'x-dns-prefetch-control', content: 'on' },
// ogp
{ hid: 'og:site_name', property: 'og:site_name', content: '四谷ラボ-オープンイノベーションラボラトリ' },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'og:url', property: 'og:url', content: 'https://428lab.net/' },
{ hid: 'og:title', property: 'og:title', content: '四谷ラボ-未来志向オープンイノベーションラボラトリ' },
{ hid: 'og:description', property: 'og:description', content: '家でも職場でもない第3の仕事場兼遊び場として、知的好奇心と刺激の場・四谷ラボで誰でも自由に参加して研究・交流・発信しよう' },
{ hid: 'og:image', property: 'og:image', content: 'https://428lab.net/ogp.jpg' },
// ogp:facebook
{ property: 'article:author', content: 'https://www.facebook.com/%E5%9B%9B%E8%B0%B7%E3%83%A9%E3%83%9C-102455797824507/' },
// { property: 'fb:app_id', content: 'FacebookAppID' },
// ogp:twitter
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@lab_428' },
{ name: 'twitter:title', content: '四谷ラボ-オープンイノベーションラボラトリ' },
{ name: 'twitter:url', content: 'https://428lab.net/' },
{ name: 'twitter:description', content: '家でも職場でもない第3の仕事場兼遊び場として、知的好奇心と刺激の場・四谷ラボで誰でも自由に参加して研究・交流・発信しよう' },
{ name: 'twitter:image', content: 'https://428lab.net/ogp.jpg' },
// microdata
{ hid: 'microdata:imagae', itemprop: 'image', content: 'https://428lab.net/ogp.jpg' },
{ hid: 'microdata:name', itemprop: 'name', content: '四谷ラボ-オープンイノベーションラボラトリ' },
{ hid: 'microdata:description', itemprop: 'description', content: '家でも職場でもない第3の仕事場兼遊び場として、知的好奇心と刺激の場・四谷ラボで誰でも自由に参加して研究・交流・発信しよう' },
// GEO
{ name: 'ICBM', content: '35.687040,139.725100' },
{ name: 'geo.position', content: '35.687040,139.725100' },
{ name: 'geo.placename', content: '日本(Japan)東京都 (Tōkyō-to)新宿区四谷' },
{ name: 'geo.region', content: 'JP-13' },
],
link: [
{ rel: 'preconnect', href: 'kit-free.fontawesome.com' },
{ rel: 'preconnect', href: 'connpass.com' },
{ rel: 'preconnect', href: 'blog.428lab.net' },
{ rel: 'preconnect', href: 'www.google.com' },
{ rel: 'preconnect', href: 'maps.google.com' },
{ rel: 'preconnect', href: 'maps.googleapis.com' },
{ rel: 'preconnect', href: 'maps.gstatic.com' },
{ rel: 'preconnect', href: 'fonts.googleapis.com' },
{ rel: 'preconnect', href: 'khms0.googleapis.com' },
{ rel: 'preconnect', href: 'fonts.gstatic.com' },
{ rel: 'dns-prefetch', href: 'kit-free.fontawesome.com' },
{ rel: 'dns-prefetch', href: 'connpass.com' },
{ rel: 'dns-prefetch', href: 'blog.428lab.net' },
{ rel: 'dns-prefetch', href: 'www.google.com' },
{ rel: 'dns-prefetch', href: 'maps.google.com' },
{ rel: 'dns-prefetch', href: 'maps.googleapis.com' },
{ rel: 'dns-prefetch', href: 'maps.gstatic.com' },
{ rel: 'dns-prefetch', href: 'fonts.googleapis.com' },
{ rel: 'dns-prefetch', href: 'khms0.googleapis.com' },
{ rel: 'dns-prefetch', href: 'fonts.gstatic.com' },
// favicons
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svgz', sizes: 'any' },
{ rel: 'icon alternate', type: 'image/svg+xml', href: '/favicon.svg', sizes: 'any' },
{ rel: 'apple-touch-icon', href: '/apple-touch-icon.png', sizes: '180x180' },
{ rel: 'icon alternate', type: 'image/png', href: '/android-chrome-192x192.png', sizes: '192x192' },
{ rel: 'icon alternate', type: 'image/x-icon', href: '/favicon.ico' },
],
script: [
// { src: "https://kit.fontawesome.com/18956ba71f.js", crossorigin: "anonymous" }
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
/*
** Global CSS
*/
css: [
'@/assets/css/font.css',
'@/assets/css/color.css',
],
/*
** Plugins to load before mounting the App
*/
plugins: [
],
/*
** Nuxt.js dev-modules
*/
buildModules: [],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://bootstrap-vue.js.org
'bootstrap-vue/nuxt',
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
'@nuxtjs/proxy',
'@nuxtjs/google-analytics',
],
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options
*/
axios: {
// proxy: true,
baseURL: process.env.BASE_URL
},
proxy: {
'/api': {
target: 'https://lab-website-develop-f0781.web.app'
}
},
googleAnalytics: {
id: 'UA-159420374-2'
},
/*
** Build configuration
*/
buildDir: process.env.DEV ? '.nuxt' : './functions/nuxt',
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) { }
}
}