質問編集履歴
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -318,7 +318,7 @@
|
|
318
318
|
|
319
319
|
{
|
320
320
|
|
321
|
-
"name": "
|
321
|
+
"name": "sample app",
|
322
322
|
|
323
323
|
"version": "1.0.0",
|
324
324
|
|
1
追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -265,3 +265,121 @@
|
|
265
265
|
なぜ本番環境だけ動作しないのか全く見当がつきません。
|
266
266
|
|
267
267
|
お知恵をお貸しいただけると助かります。
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
---
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
## 追記
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
使用しているnuxtのバージョンが2.13.0で、`nuxt build`した後`nuxt export`したものを`firebase deploy`しております。
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
firebase.jsonは以下の通りです。
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
```json
|
288
|
+
|
289
|
+
{
|
290
|
+
|
291
|
+
"hosting": {
|
292
|
+
|
293
|
+
"public": "dist",
|
294
|
+
|
295
|
+
"ignore": [
|
296
|
+
|
297
|
+
"firebase.json",
|
298
|
+
|
299
|
+
"**/.*",
|
300
|
+
|
301
|
+
"**/node_modules/**"
|
302
|
+
|
303
|
+
]
|
304
|
+
|
305
|
+
}
|
306
|
+
|
307
|
+
}
|
308
|
+
|
309
|
+
```
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
package.jsonのコードも載せておきます。
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
```
|
318
|
+
|
319
|
+
{
|
320
|
+
|
321
|
+
"name": "otolab",
|
322
|
+
|
323
|
+
"version": "1.0.0",
|
324
|
+
|
325
|
+
"private": true,
|
326
|
+
|
327
|
+
"scripts": {
|
328
|
+
|
329
|
+
"dev": "nuxt",
|
330
|
+
|
331
|
+
"build": "nuxt build",
|
332
|
+
|
333
|
+
"start": "nuxt start",
|
334
|
+
|
335
|
+
"export": "nuxt export",
|
336
|
+
|
337
|
+
"serve": "nuxt serve",
|
338
|
+
|
339
|
+
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
|
340
|
+
|
341
|
+
"lint": "yarn lint:js"
|
342
|
+
|
343
|
+
},
|
344
|
+
|
345
|
+
"dependencies": {
|
346
|
+
|
347
|
+
"@nuxtjs/axios": "^5.11.0",
|
348
|
+
|
349
|
+
"@nuxtjs/device": "^1.2.7",
|
350
|
+
|
351
|
+
"firebase-tools": "^8.4.3",
|
352
|
+
|
353
|
+
"nuxt": "^2.13.0",
|
354
|
+
|
355
|
+
"vue-scrollto": "^2.18.1"
|
356
|
+
|
357
|
+
},
|
358
|
+
|
359
|
+
"devDependencies": {
|
360
|
+
|
361
|
+
"@nuxtjs/eslint-config": "^3.0.0",
|
362
|
+
|
363
|
+
"@nuxtjs/eslint-module": "^2.0.0",
|
364
|
+
|
365
|
+
"@nuxtjs/vuetify": "^1.11.2",
|
366
|
+
|
367
|
+
"babel-eslint": "^10.1.0",
|
368
|
+
|
369
|
+
"eslint": "^7.2.0",
|
370
|
+
|
371
|
+
"eslint-config-prettier": "^6.11.0",
|
372
|
+
|
373
|
+
"eslint-plugin-nuxt": "^1.0.0",
|
374
|
+
|
375
|
+
"eslint-plugin-prettier": "^3.1.4",
|
376
|
+
|
377
|
+
"prettier": "^2.0.5"
|
378
|
+
|
379
|
+
}
|
380
|
+
|
381
|
+
}
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
```
|