質問編集履歴

1

nuxt.config.jsの追記

2021/01/23 08:41

投稿

iamudaemon
iamudaemon

スコア0

test CHANGED
File without changes
test CHANGED
@@ -85,3 +85,95 @@
85
85
  で確認できるようになるのですが、こちらとS3に上げた時の挙動がどう変化するのかが知りたいです。
86
86
 
87
87
  ど素人な質問ですみません、よろしくお願い致します。
88
+
89
+
90
+
91
+
92
+
93
+ [追記]
94
+
95
+ ```nuxt.config.js
96
+
97
+ export default {
98
+
99
+ // Target: https://go.nuxtjs.dev/config-target
100
+
101
+ target: 'static',
102
+
103
+
104
+
105
+ // Global page headers: https://go.nuxtjs.dev/config-head
106
+
107
+ head: {
108
+
109
+ title: 'test',
110
+
111
+ htmlAttrs: {
112
+
113
+ lang: 'en',
114
+
115
+ },
116
+
117
+ meta: [
118
+
119
+ { charset: 'utf-8' },
120
+
121
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },
122
+
123
+ { hid: 'description', name: 'description', content: '' },
124
+
125
+ ],
126
+
127
+ link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
128
+
129
+ },
130
+
131
+
132
+
133
+ // Global CSS: https://go.nuxtjs.dev/config-css
134
+
135
+ css: [],
136
+
137
+
138
+
139
+ // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
140
+
141
+ plugins: [],
142
+
143
+
144
+
145
+ // Auto import components: https://go.nuxtjs.dev/config-components
146
+
147
+ components: true,
148
+
149
+
150
+
151
+ // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
152
+
153
+ buildModules: [
154
+
155
+ // https://go.nuxtjs.dev/eslint
156
+
157
+ '@nuxtjs/eslint-module',
158
+
159
+ // https://go.nuxtjs.dev/stylelint
160
+
161
+ '@nuxtjs/stylelint-module',
162
+
163
+ ],
164
+
165
+
166
+
167
+ // Modules: https://go.nuxtjs.dev/config-modules
168
+
169
+ modules: [],
170
+
171
+
172
+
173
+ // Build Configuration: https://go.nuxtjs.dev/config-build
174
+
175
+ build: {},
176
+
177
+ }
178
+
179
+ ```