-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
65 lines (57 loc) · 1.42 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
export default {
target: 'static',
ssr: 'false',
head: {
title: '映画MAP | お気に入りの映画館を見つけよう。',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'stylesheet', href: 'https://api.mapbox.com/mapbox-gl-js/v2.3.1/mapbox-gl.css' },
{ rel: 'stylesheet', href: 'https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0/mapbox-gl.css' }
]
},
env: {
ACCESS_TOKEN: process.env.ACCESS_TOKEN,
API_GATEWAY: process.env.API_GATEWAY,
MAPBOX_STYLE_PATH: process.env.MAPBOX_STYLE_PATH
},
plugins: [
'~plugins/vue-js-modal.js',
'~/plugins/axios'
],
components: true,
buildModules: [
'@nuxtjs/tailwindcss',
'@nuxtjs/google-analytics'
],
modules: [
'@nuxtjs/axios',
'@nuxtjs/pwa',
'@nuxt/content',
],
axios: {
baseURL: 'http://localhost:3000',
credentials: false,
},
proxy: {
'/api/': 'http://api.example.com',
'/api2/': 'http://api.another-website.com'
},
pwa: {
manifest: {
lang: 'ja'
}
},
tailwindcss: {
configPath: 'tailwind.config.js',
exposeConfig: false,
},
googleAnalytics: {
// id: process.env.GA_ID
}
}