回答編集履歴
1
publicPathでの設定を追加
test
CHANGED
@@ -3,9 +3,10 @@
|
|
3
3
|
```
|
4
4
|
build: {
|
5
5
|
filenames: {
|
6
|
-
chunk: "
|
6
|
+
chunk: "_nuxt/[contenthash:7].js",
|
7
|
-
app: "
|
7
|
+
app: "_nuxt/[contenthash:7].js",
|
8
8
|
},
|
9
|
+
publicPath: "script",
|
9
10
|
},
|
10
11
|
```
|
11
12
|
参考:https://nuxtjs.org/docs/configuration-glossary/configuration-build/#filenames
|