@nuxt/bridge-schema-edge 0.0.0 → 3.0.0-27833237.ddd8ecc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/index.d.ts +1593 -0
- package/dist/index.mjs +545 -0
- package/package.json +43 -3
- package/schema/config.d.ts +1575 -0
- package/schema/config.defaults.json +345 -0
- package/schema/config.md +1556 -0
- package/schema/config.schema.json +2900 -0
|
@@ -0,0 +1,2900 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "#",
|
|
3
|
+
"properties": {
|
|
4
|
+
"vue": {
|
|
5
|
+
"id": "#vue",
|
|
6
|
+
"properties": {
|
|
7
|
+
"config": {
|
|
8
|
+
"title": "Properties that will be set directly on `Vue.config` for vue@2.",
|
|
9
|
+
"description": "",
|
|
10
|
+
"tags": [
|
|
11
|
+
"@see [vue@2 Documentation](https://v2.vuejs.org/v2/api/#Global-Config)"
|
|
12
|
+
],
|
|
13
|
+
"tsType": "typeof import('vue/types/vue').VueConfiguration",
|
|
14
|
+
"markdownType": "VueTypesVueVueConfiguration",
|
|
15
|
+
"id": "#vue/config",
|
|
16
|
+
"properties": {
|
|
17
|
+
"silent": {
|
|
18
|
+
"id": "#vue/config/silent",
|
|
19
|
+
"default": true,
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"performance": {
|
|
23
|
+
"id": "#vue/config/performance",
|
|
24
|
+
"default": {},
|
|
25
|
+
"type": "any"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"default": {
|
|
29
|
+
"silent": true,
|
|
30
|
+
"performance": {}
|
|
31
|
+
},
|
|
32
|
+
"type": "object"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"default": {
|
|
36
|
+
"config": {
|
|
37
|
+
"silent": true,
|
|
38
|
+
"performance": {}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"type": "object"
|
|
42
|
+
},
|
|
43
|
+
"app": {
|
|
44
|
+
"id": "#app",
|
|
45
|
+
"properties": {
|
|
46
|
+
"assetsPath": {
|
|
47
|
+
"title": "The folder name for the built site assets, relative to `baseURL` (or `cdnURL` if set).",
|
|
48
|
+
"description": "",
|
|
49
|
+
"tags": [
|
|
50
|
+
"@deprecated - use `buildAssetsDir` instead"
|
|
51
|
+
],
|
|
52
|
+
"id": "#app/assetsPath",
|
|
53
|
+
"default": {},
|
|
54
|
+
"type": "any"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"default": {
|
|
58
|
+
"assetsPath": {}
|
|
59
|
+
},
|
|
60
|
+
"type": "object"
|
|
61
|
+
},
|
|
62
|
+
"appTemplatePath": {
|
|
63
|
+
"title": "The path to an HTML template file for rendering Nuxt responses. Uses `<srcDir>/app.html` if it exists, or the Nuxt's default template if not.",
|
|
64
|
+
"description": "",
|
|
65
|
+
"tags": [
|
|
66
|
+
"@example\n```html\n<!DOCTYPE html>\n<html {{ HTML_ATTRS }}>\n <head {{ HEAD_ATTRS }}>\n {{ HEAD }}\n </head>\n <body {{ BODY_ATTRS }}>\n {{ APP }}\n </body>\n</html>\n```"
|
|
67
|
+
],
|
|
68
|
+
"id": "#appTemplatePath",
|
|
69
|
+
"default": "/home/runner/work/bridge/bridge/packages/bridge-schema/views/app.template.html",
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"store": {
|
|
73
|
+
"title": "Enable or disable Vuex store.",
|
|
74
|
+
"description": "By default, it is enabled if there is a `store/` directory.",
|
|
75
|
+
"tags": [],
|
|
76
|
+
"id": "#store",
|
|
77
|
+
"default": false,
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
},
|
|
80
|
+
"vueMeta": {
|
|
81
|
+
"title": "Options to pass directly to `vue-meta`.",
|
|
82
|
+
"description": "",
|
|
83
|
+
"tags": [
|
|
84
|
+
"@see [documentation](https://vue-meta.nuxtjs.org/api/#plugin-options)."
|
|
85
|
+
],
|
|
86
|
+
"tsType": "typeof import('vue-meta').VueMetaOptions",
|
|
87
|
+
"markdownType": "VueMetaVueMetaOptions",
|
|
88
|
+
"id": "#vueMeta",
|
|
89
|
+
"default": null,
|
|
90
|
+
"type": "any"
|
|
91
|
+
},
|
|
92
|
+
"head": {
|
|
93
|
+
"title": "Set default configuration for `<head>` on every page.",
|
|
94
|
+
"description": "",
|
|
95
|
+
"tags": [
|
|
96
|
+
"@see [documentation](https://vue-meta.nuxtjs.org/api/#metainfo-properties) for specifics."
|
|
97
|
+
],
|
|
98
|
+
"tsType": "typeof import('vue-meta').MetaInfo",
|
|
99
|
+
"markdownType": "VueMetaMetaInfo",
|
|
100
|
+
"id": "#head",
|
|
101
|
+
"properties": {
|
|
102
|
+
"meta": {
|
|
103
|
+
"title": "Each item in the array maps to a newly-created `<meta>` element, where object properties map to attributes.",
|
|
104
|
+
"description": "",
|
|
105
|
+
"tags": [],
|
|
106
|
+
"id": "#head/meta",
|
|
107
|
+
"default": [],
|
|
108
|
+
"type": "array",
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "any"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"link": {
|
|
114
|
+
"title": "Each item in the array maps to a newly-created `<link>` element, where object properties map to attributes.",
|
|
115
|
+
"description": "",
|
|
116
|
+
"tags": [],
|
|
117
|
+
"id": "#head/link",
|
|
118
|
+
"default": [],
|
|
119
|
+
"type": "array",
|
|
120
|
+
"items": {
|
|
121
|
+
"type": "any"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"style": {
|
|
125
|
+
"title": "Each item in the array maps to a newly-created `<style>` element, where object properties map to attributes.",
|
|
126
|
+
"description": "",
|
|
127
|
+
"tags": [],
|
|
128
|
+
"id": "#head/style",
|
|
129
|
+
"default": [],
|
|
130
|
+
"type": "array",
|
|
131
|
+
"items": {
|
|
132
|
+
"type": "any"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"script": {
|
|
136
|
+
"title": "Each item in the array maps to a newly-created `<script>` element, where object properties map to attributes.",
|
|
137
|
+
"description": "",
|
|
138
|
+
"tags": [],
|
|
139
|
+
"id": "#head/script",
|
|
140
|
+
"default": [],
|
|
141
|
+
"type": "array",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "any"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"default": {
|
|
148
|
+
"meta": [],
|
|
149
|
+
"link": [],
|
|
150
|
+
"style": [],
|
|
151
|
+
"script": []
|
|
152
|
+
},
|
|
153
|
+
"type": "object"
|
|
154
|
+
},
|
|
155
|
+
"meta": {
|
|
156
|
+
"title": "",
|
|
157
|
+
"description": "",
|
|
158
|
+
"tags": [
|
|
159
|
+
"@deprecated - use `head` instead"
|
|
160
|
+
],
|
|
161
|
+
"id": "#meta",
|
|
162
|
+
"properties": {
|
|
163
|
+
"meta": {
|
|
164
|
+
"type": "array",
|
|
165
|
+
"default": [],
|
|
166
|
+
"items": {
|
|
167
|
+
"type": "any"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"link": {
|
|
171
|
+
"type": "array",
|
|
172
|
+
"default": [],
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "any"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"style": {
|
|
178
|
+
"type": "array",
|
|
179
|
+
"default": [],
|
|
180
|
+
"items": {
|
|
181
|
+
"type": "any"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"script": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"default": [],
|
|
187
|
+
"items": {
|
|
188
|
+
"type": "any"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
"default": {
|
|
193
|
+
"meta": [],
|
|
194
|
+
"link": [],
|
|
195
|
+
"style": [],
|
|
196
|
+
"script": []
|
|
197
|
+
},
|
|
198
|
+
"type": "object"
|
|
199
|
+
},
|
|
200
|
+
"fetch": {
|
|
201
|
+
"title": "Configuration for the Nuxt `fetch()` hook.",
|
|
202
|
+
"description": "",
|
|
203
|
+
"tags": [],
|
|
204
|
+
"id": "#fetch",
|
|
205
|
+
"properties": {
|
|
206
|
+
"server": {
|
|
207
|
+
"title": "Whether to enable `fetch()` on the server.",
|
|
208
|
+
"description": "",
|
|
209
|
+
"tags": [],
|
|
210
|
+
"id": "#fetch/server",
|
|
211
|
+
"default": true,
|
|
212
|
+
"type": "boolean"
|
|
213
|
+
},
|
|
214
|
+
"client": {
|
|
215
|
+
"title": "Whether to enable `fetch()` on the client.",
|
|
216
|
+
"description": "",
|
|
217
|
+
"tags": [],
|
|
218
|
+
"id": "#fetch/client",
|
|
219
|
+
"default": true,
|
|
220
|
+
"type": "boolean"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"default": {
|
|
224
|
+
"server": true,
|
|
225
|
+
"client": true
|
|
226
|
+
},
|
|
227
|
+
"type": "object"
|
|
228
|
+
},
|
|
229
|
+
"extendPlugins": {
|
|
230
|
+
"title": "You may want to extend plugins or change their order. For this, you can pass a function using `extendPlugins`. It accepts an array of plugin objects and should return an array of plugin objects.",
|
|
231
|
+
"description": "",
|
|
232
|
+
"tags": [],
|
|
233
|
+
"tsType": "(plugins: Array<{ src: string, mode?: 'client' | 'server' }>) => Array<{ src: string, mode?: 'client' | 'server' }>",
|
|
234
|
+
"id": "#extendPlugins",
|
|
235
|
+
"default": null,
|
|
236
|
+
"type": "any"
|
|
237
|
+
},
|
|
238
|
+
"layouts": {
|
|
239
|
+
"title": "An object where each key name maps to a path to a layout .vue file.",
|
|
240
|
+
"description": "Normally, there is no need to configure this directly.",
|
|
241
|
+
"tags": [],
|
|
242
|
+
"tsType": "Record<string, string>",
|
|
243
|
+
"id": "#layouts",
|
|
244
|
+
"default": {},
|
|
245
|
+
"type": "any"
|
|
246
|
+
},
|
|
247
|
+
"ErrorPage": {
|
|
248
|
+
"title": "Set a custom error page layout.",
|
|
249
|
+
"description": "Normally, there is no need to configure this directly.",
|
|
250
|
+
"tags": [],
|
|
251
|
+
"type": "string",
|
|
252
|
+
"tsType": "string",
|
|
253
|
+
"id": "#ErrorPage",
|
|
254
|
+
"default": null
|
|
255
|
+
},
|
|
256
|
+
"loading": {
|
|
257
|
+
"title": "Configure the Nuxt loading progress bar component that's shown between routes. Set to `false` to disable. You can also customize it or create your own component.",
|
|
258
|
+
"description": "",
|
|
259
|
+
"tags": [],
|
|
260
|
+
"id": "#loading",
|
|
261
|
+
"properties": {
|
|
262
|
+
"color": {
|
|
263
|
+
"title": "CSS color of the progress bar.",
|
|
264
|
+
"description": "",
|
|
265
|
+
"tags": [],
|
|
266
|
+
"id": "#loading/color",
|
|
267
|
+
"default": "black",
|
|
268
|
+
"type": "string"
|
|
269
|
+
},
|
|
270
|
+
"failedColor": {
|
|
271
|
+
"title": "CSS color of the progress bar when an error appended while rendering the route (if data or fetch sent back an error, for example).",
|
|
272
|
+
"description": "",
|
|
273
|
+
"tags": [],
|
|
274
|
+
"id": "#loading/failedColor",
|
|
275
|
+
"default": "red",
|
|
276
|
+
"type": "string"
|
|
277
|
+
},
|
|
278
|
+
"height": {
|
|
279
|
+
"title": "Height of the progress bar (used in the style property of the progress bar).",
|
|
280
|
+
"description": "",
|
|
281
|
+
"tags": [],
|
|
282
|
+
"id": "#loading/height",
|
|
283
|
+
"default": "2px",
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"throttle": {
|
|
287
|
+
"title": "In ms, wait for the specified time before displaying the progress bar. Useful for preventing the bar from flashing.",
|
|
288
|
+
"description": "",
|
|
289
|
+
"tags": [],
|
|
290
|
+
"id": "#loading/throttle",
|
|
291
|
+
"default": 200,
|
|
292
|
+
"type": "number"
|
|
293
|
+
},
|
|
294
|
+
"duration": {
|
|
295
|
+
"title": "In ms, the maximum duration of the progress bar, Nuxt assumes that the route will be rendered before 5 seconds.",
|
|
296
|
+
"description": "",
|
|
297
|
+
"tags": [],
|
|
298
|
+
"id": "#loading/duration",
|
|
299
|
+
"default": 5000,
|
|
300
|
+
"type": "number"
|
|
301
|
+
},
|
|
302
|
+
"continuous": {
|
|
303
|
+
"title": "Keep animating progress bar when loading takes longer than duration.",
|
|
304
|
+
"description": "",
|
|
305
|
+
"tags": [],
|
|
306
|
+
"id": "#loading/continuous",
|
|
307
|
+
"default": false,
|
|
308
|
+
"type": "boolean"
|
|
309
|
+
},
|
|
310
|
+
"rtl": {
|
|
311
|
+
"title": "Set the direction of the progress bar from right to left.",
|
|
312
|
+
"description": "",
|
|
313
|
+
"tags": [],
|
|
314
|
+
"id": "#loading/rtl",
|
|
315
|
+
"default": false,
|
|
316
|
+
"type": "boolean"
|
|
317
|
+
},
|
|
318
|
+
"css": {
|
|
319
|
+
"title": "Set to `false` to remove default progress bar styles (and add your own).",
|
|
320
|
+
"description": "",
|
|
321
|
+
"tags": [],
|
|
322
|
+
"id": "#loading/css",
|
|
323
|
+
"default": true,
|
|
324
|
+
"type": "boolean"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"default": {
|
|
328
|
+
"color": "black",
|
|
329
|
+
"failedColor": "red",
|
|
330
|
+
"height": "2px",
|
|
331
|
+
"throttle": 200,
|
|
332
|
+
"duration": 5000,
|
|
333
|
+
"continuous": false,
|
|
334
|
+
"rtl": false,
|
|
335
|
+
"css": true
|
|
336
|
+
},
|
|
337
|
+
"type": "object"
|
|
338
|
+
},
|
|
339
|
+
"loadingIndicator": {
|
|
340
|
+
"title": "Show a loading spinner while the page is loading (only when `ssr: false`).",
|
|
341
|
+
"description": "Set to `false` to disable. Alternatively, you can pass a string name or an object for more configuration. The name can refer to an indicator from [SpinKit](https://tobiasahlin.com/spinkit/) or a path to an HTML template of the indicator source code (in this case, all the other options will be passed to the template).",
|
|
342
|
+
"tags": [],
|
|
343
|
+
"id": "#loadingIndicator",
|
|
344
|
+
"default": {
|
|
345
|
+
"name": "default",
|
|
346
|
+
"color": "black",
|
|
347
|
+
"color2": "#F5F5F5",
|
|
348
|
+
"background": "white",
|
|
349
|
+
"loading": "Loading..."
|
|
350
|
+
},
|
|
351
|
+
"type": "object"
|
|
352
|
+
},
|
|
353
|
+
"pageTransition": {
|
|
354
|
+
"title": "Used to set the default properties of the page transitions.",
|
|
355
|
+
"description": "You can either pass a string (the transition name) or an object with properties to bind to the `<Transition>` component that will wrap your pages.",
|
|
356
|
+
"tags": [
|
|
357
|
+
"@see [vue@2 documentation](https://v2.vuejs.org/v2/guide/transitions.html)",
|
|
358
|
+
"@see [vue@3 documentation](https://vuejs.org/guide/built-ins/transition-group.html#enter-leave-transitions)"
|
|
359
|
+
],
|
|
360
|
+
"id": "#pageTransition",
|
|
361
|
+
"default": {
|
|
362
|
+
"name": "page",
|
|
363
|
+
"mode": "out-in",
|
|
364
|
+
"appear": false,
|
|
365
|
+
"appearClass": "appear",
|
|
366
|
+
"appearActiveClass": "appear-active",
|
|
367
|
+
"appearToClass": "appear-to"
|
|
368
|
+
},
|
|
369
|
+
"type": "object"
|
|
370
|
+
},
|
|
371
|
+
"layoutTransition": {
|
|
372
|
+
"title": "Used to set the default properties of the layout transitions.",
|
|
373
|
+
"description": "You can either pass a string (the transition name) or an object with properties to bind to the `<Transition>` component that will wrap your layouts.",
|
|
374
|
+
"tags": [
|
|
375
|
+
"@see [vue@2 documentation](https://v2.vuejs.org/v2/guide/transitions.html)"
|
|
376
|
+
],
|
|
377
|
+
"id": "#layoutTransition",
|
|
378
|
+
"default": {
|
|
379
|
+
"name": "layout",
|
|
380
|
+
"mode": "out-in"
|
|
381
|
+
},
|
|
382
|
+
"type": "object"
|
|
383
|
+
},
|
|
384
|
+
"features": {
|
|
385
|
+
"title": "You can disable specific Nuxt features that you do not want.",
|
|
386
|
+
"description": "",
|
|
387
|
+
"tags": [],
|
|
388
|
+
"id": "#features",
|
|
389
|
+
"properties": {
|
|
390
|
+
"store": {
|
|
391
|
+
"title": "Set to false to disable Nuxt vuex integration",
|
|
392
|
+
"description": "",
|
|
393
|
+
"tags": [],
|
|
394
|
+
"id": "#features/store",
|
|
395
|
+
"default": true,
|
|
396
|
+
"type": "boolean"
|
|
397
|
+
},
|
|
398
|
+
"layouts": {
|
|
399
|
+
"title": "Set to false to disable layouts",
|
|
400
|
+
"description": "",
|
|
401
|
+
"tags": [],
|
|
402
|
+
"id": "#features/layouts",
|
|
403
|
+
"default": true,
|
|
404
|
+
"type": "boolean"
|
|
405
|
+
},
|
|
406
|
+
"meta": {
|
|
407
|
+
"title": "Set to false to disable Nuxt integration with `vue-meta` and the `head` property",
|
|
408
|
+
"description": "",
|
|
409
|
+
"tags": [],
|
|
410
|
+
"id": "#features/meta",
|
|
411
|
+
"default": true,
|
|
412
|
+
"type": "boolean"
|
|
413
|
+
},
|
|
414
|
+
"middleware": {
|
|
415
|
+
"title": "Set to false to disable middleware",
|
|
416
|
+
"description": "",
|
|
417
|
+
"tags": [],
|
|
418
|
+
"id": "#features/middleware",
|
|
419
|
+
"default": true,
|
|
420
|
+
"type": "boolean"
|
|
421
|
+
},
|
|
422
|
+
"transitions": {
|
|
423
|
+
"title": "Set to false to disable transitions",
|
|
424
|
+
"description": "",
|
|
425
|
+
"tags": [],
|
|
426
|
+
"id": "#features/transitions",
|
|
427
|
+
"default": true,
|
|
428
|
+
"type": "boolean"
|
|
429
|
+
},
|
|
430
|
+
"deprecations": {
|
|
431
|
+
"title": "Set to false to disable support for deprecated features and aliases",
|
|
432
|
+
"description": "",
|
|
433
|
+
"tags": [],
|
|
434
|
+
"id": "#features/deprecations",
|
|
435
|
+
"default": true,
|
|
436
|
+
"type": "boolean"
|
|
437
|
+
},
|
|
438
|
+
"validate": {
|
|
439
|
+
"title": "Set to false to disable the Nuxt `validate()` hook",
|
|
440
|
+
"description": "",
|
|
441
|
+
"tags": [],
|
|
442
|
+
"id": "#features/validate",
|
|
443
|
+
"default": true,
|
|
444
|
+
"type": "boolean"
|
|
445
|
+
},
|
|
446
|
+
"useAsyncData": {
|
|
447
|
+
"title": "Set to false to disable the Nuxt `asyncData()` hook",
|
|
448
|
+
"description": "",
|
|
449
|
+
"tags": [],
|
|
450
|
+
"id": "#features/useAsyncData",
|
|
451
|
+
"default": true,
|
|
452
|
+
"type": "boolean"
|
|
453
|
+
},
|
|
454
|
+
"fetch": {
|
|
455
|
+
"title": "Set to false to disable the Nuxt `fetch()` hook",
|
|
456
|
+
"description": "",
|
|
457
|
+
"tags": [],
|
|
458
|
+
"id": "#features/fetch",
|
|
459
|
+
"default": true,
|
|
460
|
+
"type": "boolean"
|
|
461
|
+
},
|
|
462
|
+
"clientOnline": {
|
|
463
|
+
"title": "Set to false to disable `$nuxt.isOnline`",
|
|
464
|
+
"description": "",
|
|
465
|
+
"tags": [],
|
|
466
|
+
"id": "#features/clientOnline",
|
|
467
|
+
"default": true,
|
|
468
|
+
"type": "boolean"
|
|
469
|
+
},
|
|
470
|
+
"clientPrefetch": {
|
|
471
|
+
"title": "Set to false to disable prefetching behavior in `<NuxtLink>`",
|
|
472
|
+
"description": "",
|
|
473
|
+
"tags": [],
|
|
474
|
+
"id": "#features/clientPrefetch",
|
|
475
|
+
"default": true,
|
|
476
|
+
"type": "boolean"
|
|
477
|
+
},
|
|
478
|
+
"componentAliases": {
|
|
479
|
+
"title": "Set to false to disable extra component aliases like `<NLink>` and `<NChild>`",
|
|
480
|
+
"description": "",
|
|
481
|
+
"tags": [],
|
|
482
|
+
"id": "#features/componentAliases",
|
|
483
|
+
"default": true,
|
|
484
|
+
"type": "boolean"
|
|
485
|
+
},
|
|
486
|
+
"componentClientOnly": {
|
|
487
|
+
"title": "Set to false to disable the `<ClientOnly>` component (see [docs](https://github.com/egoist/vue-client-only))",
|
|
488
|
+
"description": "",
|
|
489
|
+
"tags": [],
|
|
490
|
+
"id": "#features/componentClientOnly",
|
|
491
|
+
"default": true,
|
|
492
|
+
"type": "boolean"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"default": {
|
|
496
|
+
"store": true,
|
|
497
|
+
"layouts": true,
|
|
498
|
+
"meta": true,
|
|
499
|
+
"middleware": true,
|
|
500
|
+
"transitions": true,
|
|
501
|
+
"deprecations": true,
|
|
502
|
+
"validate": true,
|
|
503
|
+
"useAsyncData": true,
|
|
504
|
+
"fetch": true,
|
|
505
|
+
"clientOnline": true,
|
|
506
|
+
"clientPrefetch": true,
|
|
507
|
+
"componentAliases": true,
|
|
508
|
+
"componentClientOnly": true
|
|
509
|
+
},
|
|
510
|
+
"type": "object"
|
|
511
|
+
},
|
|
512
|
+
"build": {
|
|
513
|
+
"id": "#build",
|
|
514
|
+
"properties": {
|
|
515
|
+
"quiet": {
|
|
516
|
+
"title": "Suppresses most of the build output log.",
|
|
517
|
+
"description": "It is enabled by default when a CI or test environment is detected.",
|
|
518
|
+
"tags": [
|
|
519
|
+
"@see [std-env](https://github.com/unjs/std-env)"
|
|
520
|
+
],
|
|
521
|
+
"id": "#build/quiet",
|
|
522
|
+
"default": true,
|
|
523
|
+
"type": "boolean"
|
|
524
|
+
},
|
|
525
|
+
"analyze": {
|
|
526
|
+
"title": "Nuxt uses `webpack-bundle-analyzer` to visualize your bundles and how to optimize them.",
|
|
527
|
+
"description": "Set to `true` to enable bundle analysis, or pass an object with options: [for webpack](https://github.com/webpack-contrib/webpack-bundle-analyzer#options-for-plugin) or [for vite](https://github.com/btd/rollup-plugin-visualizer#options).",
|
|
528
|
+
"tags": [
|
|
529
|
+
"@example\n```js\nanalyze: {\n analyzerMode: 'static'\n}\n```"
|
|
530
|
+
],
|
|
531
|
+
"tsType": "boolean | typeof import('webpack-bundle-analyzer').BundleAnalyzerPlugin.Options | typeof import('rollup-plugin-visualizer').PluginVisualizerOptions",
|
|
532
|
+
"markdownType": "boolean | WebpackBundleAnalyzerBundleAnalyzerPluginOptions | RollupPluginVisualizerPluginVisualizerOptions",
|
|
533
|
+
"id": "#build/analyze",
|
|
534
|
+
"default": false,
|
|
535
|
+
"type": "boolean"
|
|
536
|
+
},
|
|
537
|
+
"profile": {
|
|
538
|
+
"title": "Enable the profiler in webpackbar.",
|
|
539
|
+
"description": "It is normally enabled by CLI argument `--profile`.",
|
|
540
|
+
"tags": [
|
|
541
|
+
"@see [webpackbar](https://github.com/unjs/webpackbar#profile)"
|
|
542
|
+
],
|
|
543
|
+
"id": "#build/profile",
|
|
544
|
+
"default": false,
|
|
545
|
+
"type": "boolean"
|
|
546
|
+
},
|
|
547
|
+
"extractCSS": {
|
|
548
|
+
"title": "Enables Common CSS Extraction using [Vue Server Renderer guidelines](https://ssr.vuejs.org/guide/css.html).",
|
|
549
|
+
"description": "Using [extract-css-chunks-webpack-plugin](https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/) under the hood, your CSS will be extracted into separate files, usually one per component. This allows caching your CSS and JavaScript separately and is worth trying if you have a lot of global or shared CSS.",
|
|
550
|
+
"tags": [
|
|
551
|
+
"@example\n```js\nexport default {\n build: {\n extractCSS: true,\n // or\n extractCSS: {\n ignoreOrder: true\n }\n }\n}\n```",
|
|
552
|
+
"If you want to extract all your CSS to a single file, there is a workaround for this.\nHowever, note that it is not recommended to extract everything into a single file.\nExtracting into multiple CSS files is better for caching and preload isolation. It\ncan also improve page performance by downloading and resolving only those resources\nthat are needed.",
|
|
553
|
+
"@example\n```js\nexport default {\n build: {\n extractCSS: true,\n optimization: {\n splitChunks: {\n cacheGroups: {\n styles: {\n name: 'styles',\n test: /\\.(css|vue)$/,\n chunks: 'all',\n enforce: true\n }\n }\n }\n }\n }\n}\n```"
|
|
554
|
+
],
|
|
555
|
+
"id": "#build/extractCSS",
|
|
556
|
+
"default": false,
|
|
557
|
+
"type": "boolean"
|
|
558
|
+
},
|
|
559
|
+
"cssSourceMap": {
|
|
560
|
+
"title": "Enables CSS source map support (defaults to true in development)",
|
|
561
|
+
"description": "",
|
|
562
|
+
"tags": [],
|
|
563
|
+
"id": "#build/cssSourceMap",
|
|
564
|
+
"default": {},
|
|
565
|
+
"type": "any"
|
|
566
|
+
},
|
|
567
|
+
"ssr": {
|
|
568
|
+
"title": "Creates special webpack bundle for SSR renderer. It is normally not necessary to change this value.",
|
|
569
|
+
"description": "",
|
|
570
|
+
"tags": [],
|
|
571
|
+
"id": "#build/ssr",
|
|
572
|
+
"default": {},
|
|
573
|
+
"type": "any"
|
|
574
|
+
},
|
|
575
|
+
"parallel": {
|
|
576
|
+
"title": "Enable [thread-loader](https://github.com/webpack-contrib/thread-loader#thread-loader) when building app with webpack.",
|
|
577
|
+
"description": "",
|
|
578
|
+
"tags": [
|
|
579
|
+
"@warning This is an unstable feature."
|
|
580
|
+
],
|
|
581
|
+
"id": "#build/parallel",
|
|
582
|
+
"default": false,
|
|
583
|
+
"type": "boolean"
|
|
584
|
+
},
|
|
585
|
+
"cache": {
|
|
586
|
+
"title": "Enable caching for [`terser-webpack-plugin`](https://github.com/webpack-contrib/terser-webpack-plugin#options) and [`cache-loader`](https://github.com/webpack-contrib/cache-loader#cache-loader).",
|
|
587
|
+
"description": "",
|
|
588
|
+
"tags": [
|
|
589
|
+
"@warning This is an unstable feature."
|
|
590
|
+
],
|
|
591
|
+
"id": "#build/cache",
|
|
592
|
+
"default": false,
|
|
593
|
+
"type": "boolean"
|
|
594
|
+
},
|
|
595
|
+
"standalone": {
|
|
596
|
+
"title": "Inline server bundle dependencies.",
|
|
597
|
+
"description": "This mode bundles `node_modules` that are normally preserved as externals in the server build.",
|
|
598
|
+
"tags": [
|
|
599
|
+
"@warning Runtime dependencies (modules, `nuxt.config`, server middleware and the static directory) are not bundled.\nThis feature only disables use of [webpack-externals](https://webpack.js.org/configuration/externals/) for server-bundle.",
|
|
600
|
+
"@note You can enable standalone bundling by passing `--standalone` via the command line.",
|
|
601
|
+
"@see [context](https://github.com/nuxt/nuxt.js/pull/4661)"
|
|
602
|
+
],
|
|
603
|
+
"id": "#build/standalone",
|
|
604
|
+
"default": false,
|
|
605
|
+
"type": "boolean"
|
|
606
|
+
},
|
|
607
|
+
"publicPath": {
|
|
608
|
+
"title": "If you are uploading your dist files to a CDN, you can set the publicPath to your CDN.",
|
|
609
|
+
"description": "",
|
|
610
|
+
"tags": [
|
|
611
|
+
"@note This is only applied in production.",
|
|
612
|
+
"The value of this property at runtime will override the configuration of an app that\nhas already been built.",
|
|
613
|
+
"@example\n```js\nbuild: {\n publicPath: process.env.PUBLIC_PATH || 'https://cdn.nuxtjs.org'\n}\n```"
|
|
614
|
+
],
|
|
615
|
+
"id": "#build/publicPath",
|
|
616
|
+
"default": {},
|
|
617
|
+
"type": "any"
|
|
618
|
+
},
|
|
619
|
+
"serverURLPolyfill": {
|
|
620
|
+
"title": "The polyfill library to load to provide URL and URLSearchParams.",
|
|
621
|
+
"description": "Defaults to `'url'` ([see package](https://www.npmjs.com/package/url)).",
|
|
622
|
+
"tags": [],
|
|
623
|
+
"id": "#build/serverURLPolyfill",
|
|
624
|
+
"default": "url",
|
|
625
|
+
"type": "string"
|
|
626
|
+
},
|
|
627
|
+
"filenames": {
|
|
628
|
+
"title": "Customize bundle filenames.",
|
|
629
|
+
"description": "To understand a bit more about the use of manifests, take a look at [this webpack documentation](https://webpack.js.org/guides/code-splitting/).",
|
|
630
|
+
"tags": [
|
|
631
|
+
"@note Be careful when using non-hashed based filenames in production\nas most browsers will cache the asset and not detect the changes on first load.",
|
|
632
|
+
"This example changes fancy chunk names to numerical ids:",
|
|
633
|
+
"@example\n```js\nfilenames: {\n chunk: ({ isDev }) => (isDev ? '[name].js' : '[id].[contenthash].js')\n}\n```"
|
|
634
|
+
],
|
|
635
|
+
"tsType": "Record<string, ((arg: any) => string)>",
|
|
636
|
+
"id": "#build/filenames",
|
|
637
|
+
"properties": {
|
|
638
|
+
"app": {
|
|
639
|
+
"type": "function"
|
|
640
|
+
},
|
|
641
|
+
"chunk": {
|
|
642
|
+
"type": "function"
|
|
643
|
+
},
|
|
644
|
+
"css": {
|
|
645
|
+
"type": "function"
|
|
646
|
+
},
|
|
647
|
+
"img": {
|
|
648
|
+
"type": "function"
|
|
649
|
+
},
|
|
650
|
+
"font": {
|
|
651
|
+
"type": "function"
|
|
652
|
+
},
|
|
653
|
+
"video": {
|
|
654
|
+
"type": "function"
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"default": {},
|
|
658
|
+
"type": "object"
|
|
659
|
+
},
|
|
660
|
+
"loaders": {
|
|
661
|
+
"title": "Customize the options of Nuxt's integrated webpack loaders.",
|
|
662
|
+
"description": "",
|
|
663
|
+
"tags": [],
|
|
664
|
+
"id": "#build/loaders",
|
|
665
|
+
"properties": {
|
|
666
|
+
"file": {
|
|
667
|
+
"id": "#build/loaders/file",
|
|
668
|
+
"properties": {
|
|
669
|
+
"esModule": {
|
|
670
|
+
"type": "boolean",
|
|
671
|
+
"default": false
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"default": {
|
|
675
|
+
"esModule": false
|
|
676
|
+
},
|
|
677
|
+
"type": "object"
|
|
678
|
+
},
|
|
679
|
+
"fontUrl": {
|
|
680
|
+
"id": "#build/loaders/fontUrl",
|
|
681
|
+
"properties": {
|
|
682
|
+
"esModule": {
|
|
683
|
+
"type": "boolean",
|
|
684
|
+
"default": false
|
|
685
|
+
},
|
|
686
|
+
"limit": {
|
|
687
|
+
"type": "number",
|
|
688
|
+
"default": 1000
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"default": {
|
|
692
|
+
"esModule": false,
|
|
693
|
+
"limit": 1000
|
|
694
|
+
},
|
|
695
|
+
"type": "object"
|
|
696
|
+
},
|
|
697
|
+
"imgUrl": {
|
|
698
|
+
"id": "#build/loaders/imgUrl",
|
|
699
|
+
"properties": {
|
|
700
|
+
"esModule": {
|
|
701
|
+
"type": "boolean",
|
|
702
|
+
"default": false
|
|
703
|
+
},
|
|
704
|
+
"limit": {
|
|
705
|
+
"type": "number",
|
|
706
|
+
"default": 1000
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
"default": {
|
|
710
|
+
"esModule": false,
|
|
711
|
+
"limit": 1000
|
|
712
|
+
},
|
|
713
|
+
"type": "object"
|
|
714
|
+
},
|
|
715
|
+
"pugPlain": {
|
|
716
|
+
"id": "#build/loaders/pugPlain",
|
|
717
|
+
"default": {},
|
|
718
|
+
"type": "any"
|
|
719
|
+
},
|
|
720
|
+
"vue": {
|
|
721
|
+
"id": "#build/loaders/vue",
|
|
722
|
+
"properties": {
|
|
723
|
+
"productionMode": {
|
|
724
|
+
"id": "#build/loaders/vue/productionMode",
|
|
725
|
+
"default": true,
|
|
726
|
+
"type": "boolean"
|
|
727
|
+
},
|
|
728
|
+
"transformAssetUrls": {
|
|
729
|
+
"id": "#build/loaders/vue/transformAssetUrls",
|
|
730
|
+
"properties": {
|
|
731
|
+
"video": {
|
|
732
|
+
"type": "string",
|
|
733
|
+
"default": "src"
|
|
734
|
+
},
|
|
735
|
+
"source": {
|
|
736
|
+
"type": "string",
|
|
737
|
+
"default": "src"
|
|
738
|
+
},
|
|
739
|
+
"object": {
|
|
740
|
+
"type": "string",
|
|
741
|
+
"default": "src"
|
|
742
|
+
},
|
|
743
|
+
"embed": {
|
|
744
|
+
"type": "string",
|
|
745
|
+
"default": "src"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"default": {
|
|
749
|
+
"video": "src",
|
|
750
|
+
"source": "src",
|
|
751
|
+
"object": "src",
|
|
752
|
+
"embed": "src"
|
|
753
|
+
},
|
|
754
|
+
"type": "object"
|
|
755
|
+
},
|
|
756
|
+
"compilerOptions": {
|
|
757
|
+
"id": "#build/loaders/vue/compilerOptions",
|
|
758
|
+
"default": {},
|
|
759
|
+
"type": "any"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"default": {
|
|
763
|
+
"productionMode": true,
|
|
764
|
+
"transformAssetUrls": {
|
|
765
|
+
"video": "src",
|
|
766
|
+
"source": "src",
|
|
767
|
+
"object": "src",
|
|
768
|
+
"embed": "src"
|
|
769
|
+
},
|
|
770
|
+
"compilerOptions": {}
|
|
771
|
+
},
|
|
772
|
+
"type": "object"
|
|
773
|
+
},
|
|
774
|
+
"css": {
|
|
775
|
+
"id": "#build/loaders/css",
|
|
776
|
+
"properties": {
|
|
777
|
+
"importLoaders": {
|
|
778
|
+
"type": "number",
|
|
779
|
+
"default": 0
|
|
780
|
+
},
|
|
781
|
+
"esModule": {
|
|
782
|
+
"type": "boolean",
|
|
783
|
+
"default": false
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"default": {
|
|
787
|
+
"importLoaders": 0,
|
|
788
|
+
"esModule": false,
|
|
789
|
+
"sourcemap": true
|
|
790
|
+
},
|
|
791
|
+
"type": "object"
|
|
792
|
+
},
|
|
793
|
+
"cssModules": {
|
|
794
|
+
"id": "#build/loaders/cssModules",
|
|
795
|
+
"properties": {
|
|
796
|
+
"importLoaders": {
|
|
797
|
+
"type": "number",
|
|
798
|
+
"default": 0
|
|
799
|
+
},
|
|
800
|
+
"esModule": {
|
|
801
|
+
"type": "boolean",
|
|
802
|
+
"default": false
|
|
803
|
+
},
|
|
804
|
+
"modules": {
|
|
805
|
+
"id": "#build/loaders/cssModules/modules",
|
|
806
|
+
"properties": {
|
|
807
|
+
"localIdentName": {
|
|
808
|
+
"type": "string",
|
|
809
|
+
"default": "[local]_[hash:base64:5]"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"default": {
|
|
813
|
+
"localIdentName": "[local]_[hash:base64:5]"
|
|
814
|
+
},
|
|
815
|
+
"type": "object"
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
"default": {
|
|
819
|
+
"importLoaders": 0,
|
|
820
|
+
"esModule": false,
|
|
821
|
+
"modules": {
|
|
822
|
+
"localIdentName": "[local]_[hash:base64:5]"
|
|
823
|
+
},
|
|
824
|
+
"sourcemap": true
|
|
825
|
+
},
|
|
826
|
+
"type": "object"
|
|
827
|
+
},
|
|
828
|
+
"less": {
|
|
829
|
+
"id": "#build/loaders/less",
|
|
830
|
+
"default": {
|
|
831
|
+
"sourcemap": true
|
|
832
|
+
},
|
|
833
|
+
"type": "any"
|
|
834
|
+
},
|
|
835
|
+
"sass": {
|
|
836
|
+
"id": "#build/loaders/sass",
|
|
837
|
+
"properties": {
|
|
838
|
+
"sassOptions": {
|
|
839
|
+
"id": "#build/loaders/sass/sassOptions",
|
|
840
|
+
"properties": {
|
|
841
|
+
"indentedSyntax": {
|
|
842
|
+
"type": "boolean",
|
|
843
|
+
"default": true
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"default": {
|
|
847
|
+
"indentedSyntax": true
|
|
848
|
+
},
|
|
849
|
+
"type": "object"
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"default": {
|
|
853
|
+
"sassOptions": {
|
|
854
|
+
"indentedSyntax": true
|
|
855
|
+
},
|
|
856
|
+
"sourcemap": true
|
|
857
|
+
},
|
|
858
|
+
"type": "object"
|
|
859
|
+
},
|
|
860
|
+
"scss": {
|
|
861
|
+
"id": "#build/loaders/scss",
|
|
862
|
+
"default": {
|
|
863
|
+
"sourcemap": true
|
|
864
|
+
},
|
|
865
|
+
"type": "any"
|
|
866
|
+
},
|
|
867
|
+
"stylus": {
|
|
868
|
+
"id": "#build/loaders/stylus",
|
|
869
|
+
"default": {
|
|
870
|
+
"sourcemap": true
|
|
871
|
+
},
|
|
872
|
+
"type": "any"
|
|
873
|
+
},
|
|
874
|
+
"vueStyle": {
|
|
875
|
+
"id": "#build/loaders/vueStyle",
|
|
876
|
+
"default": {
|
|
877
|
+
"sourcemap": true
|
|
878
|
+
},
|
|
879
|
+
"type": "any"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
"default": {
|
|
883
|
+
"file": {
|
|
884
|
+
"esModule": false
|
|
885
|
+
},
|
|
886
|
+
"fontUrl": {
|
|
887
|
+
"esModule": false,
|
|
888
|
+
"limit": 1000
|
|
889
|
+
},
|
|
890
|
+
"imgUrl": {
|
|
891
|
+
"esModule": false,
|
|
892
|
+
"limit": 1000
|
|
893
|
+
},
|
|
894
|
+
"pugPlain": {},
|
|
895
|
+
"vue": {
|
|
896
|
+
"productionMode": true,
|
|
897
|
+
"transformAssetUrls": {
|
|
898
|
+
"video": "src",
|
|
899
|
+
"source": "src",
|
|
900
|
+
"object": "src",
|
|
901
|
+
"embed": "src"
|
|
902
|
+
},
|
|
903
|
+
"compilerOptions": {}
|
|
904
|
+
},
|
|
905
|
+
"css": {
|
|
906
|
+
"importLoaders": 0,
|
|
907
|
+
"esModule": false,
|
|
908
|
+
"sourcemap": true
|
|
909
|
+
},
|
|
910
|
+
"cssModules": {
|
|
911
|
+
"importLoaders": 0,
|
|
912
|
+
"esModule": false,
|
|
913
|
+
"modules": {
|
|
914
|
+
"localIdentName": "[local]_[hash:base64:5]"
|
|
915
|
+
},
|
|
916
|
+
"sourcemap": true
|
|
917
|
+
},
|
|
918
|
+
"less": {
|
|
919
|
+
"sourcemap": true
|
|
920
|
+
},
|
|
921
|
+
"sass": {
|
|
922
|
+
"sassOptions": {
|
|
923
|
+
"indentedSyntax": true
|
|
924
|
+
},
|
|
925
|
+
"sourcemap": true
|
|
926
|
+
},
|
|
927
|
+
"scss": {
|
|
928
|
+
"sourcemap": true
|
|
929
|
+
},
|
|
930
|
+
"stylus": {
|
|
931
|
+
"sourcemap": true
|
|
932
|
+
},
|
|
933
|
+
"vueStyle": {
|
|
934
|
+
"sourcemap": true
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"type": "object"
|
|
938
|
+
},
|
|
939
|
+
"styleResources": {
|
|
940
|
+
"title": "",
|
|
941
|
+
"description": "",
|
|
942
|
+
"tags": [
|
|
943
|
+
"@deprecated Use [style-resources-module](https://github.com/nuxt-community/style-resources-module/)"
|
|
944
|
+
],
|
|
945
|
+
"id": "#build/styleResources",
|
|
946
|
+
"default": {},
|
|
947
|
+
"type": "any"
|
|
948
|
+
},
|
|
949
|
+
"plugins": {
|
|
950
|
+
"title": "Add webpack plugins.",
|
|
951
|
+
"description": "",
|
|
952
|
+
"tags": [
|
|
953
|
+
"@example\n```js\nimport webpack from 'webpack'\nimport { version } from './package.json'\n// ...\nplugins: [\n new webpack.DefinePlugin({\n 'process.VERSION': version\n })\n]\n```"
|
|
954
|
+
],
|
|
955
|
+
"id": "#build/plugins",
|
|
956
|
+
"default": [],
|
|
957
|
+
"type": "array",
|
|
958
|
+
"items": {
|
|
959
|
+
"type": "any"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
"terser": {
|
|
963
|
+
"title": "Terser plugin options.",
|
|
964
|
+
"description": "Set to false to disable this plugin, or pass an object of options.",
|
|
965
|
+
"tags": [
|
|
966
|
+
"@see [terser-webpack-plugin documentation](https://github.com/webpack-contrib/terser-webpack-plugin)",
|
|
967
|
+
"@note Enabling sourcemap will leave `//# sourcemappingURL` linking comment at\nthe end of each output file if webpack `config.devtool` is set to `source-map`."
|
|
968
|
+
],
|
|
969
|
+
"id": "#build/terser",
|
|
970
|
+
"default": {},
|
|
971
|
+
"type": "any"
|
|
972
|
+
},
|
|
973
|
+
"hardSource": {
|
|
974
|
+
"title": "Enables the [HardSourceWebpackPlugin](https://github.com/mzgoddard/hard-source-webpack-plugin) for improved caching.",
|
|
975
|
+
"description": "",
|
|
976
|
+
"tags": [
|
|
977
|
+
"@warning unstable"
|
|
978
|
+
],
|
|
979
|
+
"id": "#build/hardSource",
|
|
980
|
+
"default": false,
|
|
981
|
+
"type": "boolean"
|
|
982
|
+
},
|
|
983
|
+
"aggressiveCodeRemoval": {
|
|
984
|
+
"title": "Hard-replaces `typeof process`, `typeof window` and `typeof document` to tree-shake bundle.",
|
|
985
|
+
"description": "",
|
|
986
|
+
"tags": [],
|
|
987
|
+
"id": "#build/aggressiveCodeRemoval",
|
|
988
|
+
"default": false,
|
|
989
|
+
"type": "boolean"
|
|
990
|
+
},
|
|
991
|
+
"optimizeCSS": {
|
|
992
|
+
"title": "OptimizeCSSAssets plugin options.",
|
|
993
|
+
"description": "Defaults to true when `extractCSS` is enabled.",
|
|
994
|
+
"tags": [
|
|
995
|
+
"@see [optimize-css-assets-webpack-plugin documentation](https://github.com/NMFR/optimize-css-assets-webpack-plugin)."
|
|
996
|
+
],
|
|
997
|
+
"id": "#build/optimizeCSS",
|
|
998
|
+
"default": false,
|
|
999
|
+
"type": "boolean"
|
|
1000
|
+
},
|
|
1001
|
+
"optimization": {
|
|
1002
|
+
"title": "Configure [webpack optimization](https://webpack.js.org/configuration/optimization/).",
|
|
1003
|
+
"description": "",
|
|
1004
|
+
"tags": [],
|
|
1005
|
+
"id": "#build/optimization",
|
|
1006
|
+
"properties": {
|
|
1007
|
+
"runtimeChunk": {
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
"default": "single"
|
|
1010
|
+
},
|
|
1011
|
+
"minimize": {
|
|
1012
|
+
"title": "Set minimize to false to disable all minimizers. (It is disabled in development by default)",
|
|
1013
|
+
"description": "",
|
|
1014
|
+
"tags": [],
|
|
1015
|
+
"id": "#build/optimization/minimize",
|
|
1016
|
+
"default": true,
|
|
1017
|
+
"type": "boolean"
|
|
1018
|
+
},
|
|
1019
|
+
"minimizer": {
|
|
1020
|
+
"title": "You can set minimizer to a customized array of plugins.",
|
|
1021
|
+
"description": "",
|
|
1022
|
+
"tags": [],
|
|
1023
|
+
"id": "#build/optimization/minimizer",
|
|
1024
|
+
"default": {},
|
|
1025
|
+
"type": "any"
|
|
1026
|
+
},
|
|
1027
|
+
"splitChunks": {
|
|
1028
|
+
"id": "#build/optimization/splitChunks",
|
|
1029
|
+
"properties": {
|
|
1030
|
+
"chunks": {
|
|
1031
|
+
"type": "string",
|
|
1032
|
+
"default": "all"
|
|
1033
|
+
},
|
|
1034
|
+
"automaticNameDelimiter": {
|
|
1035
|
+
"type": "string",
|
|
1036
|
+
"default": "/"
|
|
1037
|
+
},
|
|
1038
|
+
"cacheGroups": {
|
|
1039
|
+
"id": "#build/optimization/splitChunks/cacheGroups",
|
|
1040
|
+
"default": {},
|
|
1041
|
+
"type": "any"
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"default": {
|
|
1045
|
+
"chunks": "all",
|
|
1046
|
+
"automaticNameDelimiter": "/",
|
|
1047
|
+
"cacheGroups": {}
|
|
1048
|
+
},
|
|
1049
|
+
"type": "object"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"default": {
|
|
1053
|
+
"runtimeChunk": "single",
|
|
1054
|
+
"minimize": true,
|
|
1055
|
+
"minimizer": {},
|
|
1056
|
+
"splitChunks": {
|
|
1057
|
+
"chunks": "all",
|
|
1058
|
+
"automaticNameDelimiter": "/",
|
|
1059
|
+
"cacheGroups": {}
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
"type": "object"
|
|
1063
|
+
},
|
|
1064
|
+
"splitChunks": {
|
|
1065
|
+
"title": "Whether to split code for `layout`, `pages` and `commons` chunks.",
|
|
1066
|
+
"description": "Commons libs include `vue`, `vue-loader`, `vue-router`, `vuex`, etc.",
|
|
1067
|
+
"tags": [],
|
|
1068
|
+
"id": "#build/splitChunks",
|
|
1069
|
+
"properties": {
|
|
1070
|
+
"layouts": {
|
|
1071
|
+
"type": "boolean",
|
|
1072
|
+
"default": false
|
|
1073
|
+
},
|
|
1074
|
+
"pages": {
|
|
1075
|
+
"type": "boolean",
|
|
1076
|
+
"default": true
|
|
1077
|
+
},
|
|
1078
|
+
"commons": {
|
|
1079
|
+
"type": "boolean",
|
|
1080
|
+
"default": true
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
"default": {
|
|
1084
|
+
"layouts": false,
|
|
1085
|
+
"pages": true,
|
|
1086
|
+
"commons": true
|
|
1087
|
+
},
|
|
1088
|
+
"type": "object"
|
|
1089
|
+
},
|
|
1090
|
+
"corejs": {
|
|
1091
|
+
"title": "Nuxt will automatically detect the current version of `core-js` in your project (`'auto'`), or you can specify which version you want to use (`2` or `3`).",
|
|
1092
|
+
"description": "",
|
|
1093
|
+
"tags": [],
|
|
1094
|
+
"id": "#build/corejs",
|
|
1095
|
+
"default": "auto",
|
|
1096
|
+
"type": "string"
|
|
1097
|
+
},
|
|
1098
|
+
"babel": {
|
|
1099
|
+
"title": "Customize your Babel configuration.",
|
|
1100
|
+
"description": "See [babel-loader options](https://github.com/babel/babel-loader#options) and [babel options](https://babeljs.io/docs/en/options).",
|
|
1101
|
+
"tags": [
|
|
1102
|
+
"@note `.babelrc` is ignored by default."
|
|
1103
|
+
],
|
|
1104
|
+
"id": "#build/babel",
|
|
1105
|
+
"properties": {
|
|
1106
|
+
"configFile": {
|
|
1107
|
+
"type": "boolean",
|
|
1108
|
+
"default": false
|
|
1109
|
+
},
|
|
1110
|
+
"babelrc": {
|
|
1111
|
+
"type": "boolean",
|
|
1112
|
+
"default": false
|
|
1113
|
+
},
|
|
1114
|
+
"plugins": {
|
|
1115
|
+
"title": "An array of Babel plugins to load, or a function that takes webpack context and returns an array of Babel plugins.",
|
|
1116
|
+
"description": "For more information see [Babel plugins options](https://babeljs.io/docs/en/options#plugins) and [babel-loader options](https://github.com/babel/babel-loader#options).",
|
|
1117
|
+
"tags": [],
|
|
1118
|
+
"id": "#build/babel/plugins",
|
|
1119
|
+
"default": [],
|
|
1120
|
+
"type": "array",
|
|
1121
|
+
"items": {
|
|
1122
|
+
"type": "any"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
"presets": {
|
|
1126
|
+
"title": "The Babel presets to be applied.",
|
|
1127
|
+
"description": "",
|
|
1128
|
+
"tags": [
|
|
1129
|
+
"@note The presets configured here will be applied to both the client and the server\nbuild. The target will be set by Nuxt accordingly (client/server). If you want to configure\nthe preset differently for the client or the server build, please use presets as a function.",
|
|
1130
|
+
"@warning It is highly recommended to use the default preset instead customizing.",
|
|
1131
|
+
"@example\n```js\nexport default {\n build: {\n babel: {\n presets({ isServer }, [ preset, options ]) {\n // change options directly\n options.targets = isServer ? '...' : '...'\n options.corejs = '...'\n // return nothing\n }\n }\n }\n}\n```",
|
|
1132
|
+
"@example\n```js\nexport default {\n build: {\n babel: {\n presets({ isServer }, [preset, options]) {\n return [\n [\n preset,\n {\n targets: isServer ? '...' : '...',\n ...options\n }\n ],\n [\n // Other presets\n ]\n ]\n }\n }\n }\n}\n```"
|
|
1133
|
+
],
|
|
1134
|
+
"id": "#build/babel/presets",
|
|
1135
|
+
"default": {},
|
|
1136
|
+
"type": "any"
|
|
1137
|
+
},
|
|
1138
|
+
"cacheDirectory": {
|
|
1139
|
+
"id": "#build/babel/cacheDirectory",
|
|
1140
|
+
"default": {},
|
|
1141
|
+
"type": "any"
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
"default": {
|
|
1145
|
+
"configFile": false,
|
|
1146
|
+
"babelrc": false,
|
|
1147
|
+
"plugins": [],
|
|
1148
|
+
"presets": {},
|
|
1149
|
+
"cacheDirectory": {}
|
|
1150
|
+
},
|
|
1151
|
+
"type": "object"
|
|
1152
|
+
},
|
|
1153
|
+
"postcss": {
|
|
1154
|
+
"title": "Customize PostCSS Loader plugins. Sames options as https://github.com/webpack-contrib/postcss-loader#options",
|
|
1155
|
+
"description": "",
|
|
1156
|
+
"tags": [],
|
|
1157
|
+
"id": "#build/postcss",
|
|
1158
|
+
"properties": {
|
|
1159
|
+
"execute": {},
|
|
1160
|
+
"postcssOptions": {
|
|
1161
|
+
"id": "#build/postcss/postcssOptions",
|
|
1162
|
+
"default": {},
|
|
1163
|
+
"type": "object"
|
|
1164
|
+
},
|
|
1165
|
+
"sourcemap": {},
|
|
1166
|
+
"implementation": {},
|
|
1167
|
+
"order": {
|
|
1168
|
+
"type": "string",
|
|
1169
|
+
"default": ""
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"default": {
|
|
1173
|
+
"postcssOptions": {},
|
|
1174
|
+
"order": ""
|
|
1175
|
+
},
|
|
1176
|
+
"type": "object"
|
|
1177
|
+
},
|
|
1178
|
+
"html": {
|
|
1179
|
+
"id": "#build/html",
|
|
1180
|
+
"properties": {
|
|
1181
|
+
"minify": {
|
|
1182
|
+
"title": "Configuration for the html-minifier plugin used to minify HTML files created during the build process (will be applied for all modes).",
|
|
1183
|
+
"description": "",
|
|
1184
|
+
"tags": [
|
|
1185
|
+
"@warning If you make changes, they won't be merged with the defaults!",
|
|
1186
|
+
"@example\n```js\nexport default {\n html: {\n minify: {\n collapseBooleanAttributes: true,\n decodeEntities: true,\n minifyCSS: true,\n minifyJS: true,\n processConditionalComments: true,\n removeEmptyAttributes: true,\n removeRedundantAttributes: true,\n trimCustomFragments: true,\n useShortDoctype: true\n }\n }\n}\n```"
|
|
1187
|
+
],
|
|
1188
|
+
"id": "#build/html/minify",
|
|
1189
|
+
"properties": {
|
|
1190
|
+
"collapseBooleanAttributes": {
|
|
1191
|
+
"type": "boolean",
|
|
1192
|
+
"default": true
|
|
1193
|
+
},
|
|
1194
|
+
"decodeEntities": {
|
|
1195
|
+
"type": "boolean",
|
|
1196
|
+
"default": true
|
|
1197
|
+
},
|
|
1198
|
+
"minifyCSS": {
|
|
1199
|
+
"type": "boolean",
|
|
1200
|
+
"default": true
|
|
1201
|
+
},
|
|
1202
|
+
"minifyJS": {
|
|
1203
|
+
"type": "boolean",
|
|
1204
|
+
"default": true
|
|
1205
|
+
},
|
|
1206
|
+
"processConditionalComments": {
|
|
1207
|
+
"type": "boolean",
|
|
1208
|
+
"default": true
|
|
1209
|
+
},
|
|
1210
|
+
"removeEmptyAttributes": {
|
|
1211
|
+
"type": "boolean",
|
|
1212
|
+
"default": true
|
|
1213
|
+
},
|
|
1214
|
+
"removeRedundantAttributes": {
|
|
1215
|
+
"type": "boolean",
|
|
1216
|
+
"default": true
|
|
1217
|
+
},
|
|
1218
|
+
"trimCustomFragments": {
|
|
1219
|
+
"type": "boolean",
|
|
1220
|
+
"default": true
|
|
1221
|
+
},
|
|
1222
|
+
"useShortDoctype": {
|
|
1223
|
+
"type": "boolean",
|
|
1224
|
+
"default": true
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
"default": {
|
|
1228
|
+
"collapseBooleanAttributes": true,
|
|
1229
|
+
"decodeEntities": true,
|
|
1230
|
+
"minifyCSS": true,
|
|
1231
|
+
"minifyJS": true,
|
|
1232
|
+
"processConditionalComments": true,
|
|
1233
|
+
"removeEmptyAttributes": true,
|
|
1234
|
+
"removeRedundantAttributes": true,
|
|
1235
|
+
"trimCustomFragments": true,
|
|
1236
|
+
"useShortDoctype": true
|
|
1237
|
+
},
|
|
1238
|
+
"type": "object"
|
|
1239
|
+
}
|
|
1240
|
+
},
|
|
1241
|
+
"default": {
|
|
1242
|
+
"minify": {
|
|
1243
|
+
"collapseBooleanAttributes": true,
|
|
1244
|
+
"decodeEntities": true,
|
|
1245
|
+
"minifyCSS": true,
|
|
1246
|
+
"minifyJS": true,
|
|
1247
|
+
"processConditionalComments": true,
|
|
1248
|
+
"removeEmptyAttributes": true,
|
|
1249
|
+
"removeRedundantAttributes": true,
|
|
1250
|
+
"trimCustomFragments": true,
|
|
1251
|
+
"useShortDoctype": true
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
"type": "object"
|
|
1255
|
+
},
|
|
1256
|
+
"template": {
|
|
1257
|
+
"title": "Allows setting a different app template (other than `@nuxt/vue-app`)",
|
|
1258
|
+
"description": "",
|
|
1259
|
+
"tags": [],
|
|
1260
|
+
"id": "#build/template",
|
|
1261
|
+
"default": {},
|
|
1262
|
+
"type": "any"
|
|
1263
|
+
},
|
|
1264
|
+
"watch": {
|
|
1265
|
+
"title": "You can provide your custom files to watch and regenerate after changes.",
|
|
1266
|
+
"description": "This feature is especially useful for using with modules.",
|
|
1267
|
+
"tags": [
|
|
1268
|
+
"@example\n```js\n watch: ['~/.nuxt/support.js']\n```"
|
|
1269
|
+
],
|
|
1270
|
+
"id": "#build/watch",
|
|
1271
|
+
"default": [],
|
|
1272
|
+
"type": "array",
|
|
1273
|
+
"items": {
|
|
1274
|
+
"type": "any"
|
|
1275
|
+
}
|
|
1276
|
+
},
|
|
1277
|
+
"devMiddleware": {
|
|
1278
|
+
"title": "See [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) for available options.",
|
|
1279
|
+
"description": "",
|
|
1280
|
+
"tags": [],
|
|
1281
|
+
"id": "#build/devMiddleware",
|
|
1282
|
+
"properties": {
|
|
1283
|
+
"stats": {
|
|
1284
|
+
"type": "string",
|
|
1285
|
+
"default": "none"
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
"default": {
|
|
1289
|
+
"stats": "none"
|
|
1290
|
+
},
|
|
1291
|
+
"type": "object"
|
|
1292
|
+
},
|
|
1293
|
+
"hotMiddleware": {
|
|
1294
|
+
"title": "See [webpack-hot-middleware](https://github.com/webpack-contrib/webpack-hot-middleware) for available options.",
|
|
1295
|
+
"description": "",
|
|
1296
|
+
"tags": [],
|
|
1297
|
+
"id": "#build/hotMiddleware",
|
|
1298
|
+
"default": {},
|
|
1299
|
+
"type": "any"
|
|
1300
|
+
},
|
|
1301
|
+
"vendor": {
|
|
1302
|
+
"id": "#build/vendor",
|
|
1303
|
+
"properties": {
|
|
1304
|
+
"$meta": {
|
|
1305
|
+
"id": "#build/vendor/$meta",
|
|
1306
|
+
"properties": {
|
|
1307
|
+
"deprecated": {
|
|
1308
|
+
"type": "string",
|
|
1309
|
+
"default": "vendor has been deprecated since nuxt 2"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
"default": {
|
|
1313
|
+
"deprecated": "vendor has been deprecated since nuxt 2"
|
|
1314
|
+
},
|
|
1315
|
+
"type": "object"
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
"default": {
|
|
1319
|
+
"$meta": {
|
|
1320
|
+
"deprecated": "vendor has been deprecated since nuxt 2"
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
"type": "object"
|
|
1324
|
+
},
|
|
1325
|
+
"stats": {
|
|
1326
|
+
"title": "Set to `'none'` or `false` to disable stats printing out after a build.",
|
|
1327
|
+
"description": "",
|
|
1328
|
+
"tags": [],
|
|
1329
|
+
"id": "#build/stats",
|
|
1330
|
+
"properties": {
|
|
1331
|
+
"excludeAssets": {
|
|
1332
|
+
"type": "array",
|
|
1333
|
+
"default": [
|
|
1334
|
+
{},
|
|
1335
|
+
{},
|
|
1336
|
+
{}
|
|
1337
|
+
],
|
|
1338
|
+
"items": {
|
|
1339
|
+
"type": [
|
|
1340
|
+
"object"
|
|
1341
|
+
]
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
"default": false,
|
|
1346
|
+
"type": "boolean"
|
|
1347
|
+
},
|
|
1348
|
+
"friendlyErrors": {
|
|
1349
|
+
"title": "Set to `false` to disable the overlay provided by [FriendlyErrorsWebpackPlugin](https://github.com/nuxt/friendly-errors-webpack-plugin).",
|
|
1350
|
+
"description": "",
|
|
1351
|
+
"tags": [],
|
|
1352
|
+
"id": "#build/friendlyErrors",
|
|
1353
|
+
"default": true,
|
|
1354
|
+
"type": "boolean"
|
|
1355
|
+
},
|
|
1356
|
+
"additionalExtensions": {
|
|
1357
|
+
"title": "Additional extensions (beyond `['vue', 'js']` to support in `pages/`, `layouts/`, `middleware/`, etc.)",
|
|
1358
|
+
"description": "",
|
|
1359
|
+
"tags": [],
|
|
1360
|
+
"id": "#build/additionalExtensions",
|
|
1361
|
+
"default": [],
|
|
1362
|
+
"type": "array",
|
|
1363
|
+
"items": {
|
|
1364
|
+
"type": "any"
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"warningIgnoreFilters": {
|
|
1368
|
+
"title": "Filters to hide build warnings.",
|
|
1369
|
+
"description": "",
|
|
1370
|
+
"tags": [],
|
|
1371
|
+
"id": "#build/warningIgnoreFilters",
|
|
1372
|
+
"default": [],
|
|
1373
|
+
"type": "array",
|
|
1374
|
+
"items": {
|
|
1375
|
+
"type": "any"
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
"followSymlinks": {
|
|
1379
|
+
"title": "Set to true to scan files within symlinks in the build (such as within `pages/`).",
|
|
1380
|
+
"description": "",
|
|
1381
|
+
"tags": [],
|
|
1382
|
+
"id": "#build/followSymlinks",
|
|
1383
|
+
"default": false,
|
|
1384
|
+
"type": "boolean"
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
"default": {
|
|
1388
|
+
"quiet": true,
|
|
1389
|
+
"analyze": false,
|
|
1390
|
+
"profile": false,
|
|
1391
|
+
"extractCSS": false,
|
|
1392
|
+
"cssSourceMap": {},
|
|
1393
|
+
"ssr": {},
|
|
1394
|
+
"parallel": false,
|
|
1395
|
+
"cache": false,
|
|
1396
|
+
"standalone": false,
|
|
1397
|
+
"publicPath": {},
|
|
1398
|
+
"serverURLPolyfill": "url",
|
|
1399
|
+
"filenames": {},
|
|
1400
|
+
"loaders": {
|
|
1401
|
+
"file": {
|
|
1402
|
+
"esModule": false
|
|
1403
|
+
},
|
|
1404
|
+
"fontUrl": {
|
|
1405
|
+
"esModule": false,
|
|
1406
|
+
"limit": 1000
|
|
1407
|
+
},
|
|
1408
|
+
"imgUrl": {
|
|
1409
|
+
"esModule": false,
|
|
1410
|
+
"limit": 1000
|
|
1411
|
+
},
|
|
1412
|
+
"pugPlain": {},
|
|
1413
|
+
"vue": {
|
|
1414
|
+
"productionMode": true,
|
|
1415
|
+
"transformAssetUrls": {
|
|
1416
|
+
"video": "src",
|
|
1417
|
+
"source": "src",
|
|
1418
|
+
"object": "src",
|
|
1419
|
+
"embed": "src"
|
|
1420
|
+
},
|
|
1421
|
+
"compilerOptions": {}
|
|
1422
|
+
},
|
|
1423
|
+
"css": {
|
|
1424
|
+
"importLoaders": 0,
|
|
1425
|
+
"esModule": false,
|
|
1426
|
+
"sourcemap": true
|
|
1427
|
+
},
|
|
1428
|
+
"cssModules": {
|
|
1429
|
+
"importLoaders": 0,
|
|
1430
|
+
"esModule": false,
|
|
1431
|
+
"modules": {
|
|
1432
|
+
"localIdentName": "[local]_[hash:base64:5]"
|
|
1433
|
+
},
|
|
1434
|
+
"sourcemap": true
|
|
1435
|
+
},
|
|
1436
|
+
"less": {
|
|
1437
|
+
"sourcemap": true
|
|
1438
|
+
},
|
|
1439
|
+
"sass": {
|
|
1440
|
+
"sassOptions": {
|
|
1441
|
+
"indentedSyntax": true
|
|
1442
|
+
},
|
|
1443
|
+
"sourcemap": true
|
|
1444
|
+
},
|
|
1445
|
+
"scss": {
|
|
1446
|
+
"sourcemap": true
|
|
1447
|
+
},
|
|
1448
|
+
"stylus": {
|
|
1449
|
+
"sourcemap": true
|
|
1450
|
+
},
|
|
1451
|
+
"vueStyle": {
|
|
1452
|
+
"sourcemap": true
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
"styleResources": {},
|
|
1456
|
+
"plugins": [],
|
|
1457
|
+
"terser": {},
|
|
1458
|
+
"hardSource": false,
|
|
1459
|
+
"aggressiveCodeRemoval": false,
|
|
1460
|
+
"optimizeCSS": false,
|
|
1461
|
+
"optimization": {
|
|
1462
|
+
"runtimeChunk": "single",
|
|
1463
|
+
"minimize": true,
|
|
1464
|
+
"minimizer": {},
|
|
1465
|
+
"splitChunks": {
|
|
1466
|
+
"chunks": "all",
|
|
1467
|
+
"automaticNameDelimiter": "/",
|
|
1468
|
+
"cacheGroups": {}
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
"splitChunks": {
|
|
1472
|
+
"layouts": false,
|
|
1473
|
+
"pages": true,
|
|
1474
|
+
"commons": true
|
|
1475
|
+
},
|
|
1476
|
+
"corejs": "auto",
|
|
1477
|
+
"babel": {
|
|
1478
|
+
"configFile": false,
|
|
1479
|
+
"babelrc": false,
|
|
1480
|
+
"plugins": [],
|
|
1481
|
+
"presets": {},
|
|
1482
|
+
"cacheDirectory": {}
|
|
1483
|
+
},
|
|
1484
|
+
"postcss": {
|
|
1485
|
+
"postcssOptions": {},
|
|
1486
|
+
"order": ""
|
|
1487
|
+
},
|
|
1488
|
+
"html": {
|
|
1489
|
+
"minify": {
|
|
1490
|
+
"collapseBooleanAttributes": true,
|
|
1491
|
+
"decodeEntities": true,
|
|
1492
|
+
"minifyCSS": true,
|
|
1493
|
+
"minifyJS": true,
|
|
1494
|
+
"processConditionalComments": true,
|
|
1495
|
+
"removeEmptyAttributes": true,
|
|
1496
|
+
"removeRedundantAttributes": true,
|
|
1497
|
+
"trimCustomFragments": true,
|
|
1498
|
+
"useShortDoctype": true
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
"template": {},
|
|
1502
|
+
"watch": [],
|
|
1503
|
+
"devMiddleware": {
|
|
1504
|
+
"stats": "none"
|
|
1505
|
+
},
|
|
1506
|
+
"hotMiddleware": {},
|
|
1507
|
+
"vendor": {
|
|
1508
|
+
"$meta": {
|
|
1509
|
+
"deprecated": "vendor has been deprecated since nuxt 2"
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
"stats": false,
|
|
1513
|
+
"friendlyErrors": true,
|
|
1514
|
+
"additionalExtensions": [],
|
|
1515
|
+
"warningIgnoreFilters": [],
|
|
1516
|
+
"followSymlinks": false
|
|
1517
|
+
},
|
|
1518
|
+
"type": "object"
|
|
1519
|
+
},
|
|
1520
|
+
"cli": {
|
|
1521
|
+
"id": "#cli",
|
|
1522
|
+
"properties": {
|
|
1523
|
+
"badgeMessages": {
|
|
1524
|
+
"title": "Add a message to the CLI banner by adding a string to this array.",
|
|
1525
|
+
"description": "",
|
|
1526
|
+
"tags": [],
|
|
1527
|
+
"tsType": "string[]",
|
|
1528
|
+
"id": "#cli/badgeMessages",
|
|
1529
|
+
"default": [],
|
|
1530
|
+
"type": "array",
|
|
1531
|
+
"items": {
|
|
1532
|
+
"type": "any"
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
"bannerColor": {
|
|
1536
|
+
"title": "Change the color of the 'Nuxt.js' title in the CLI banner.",
|
|
1537
|
+
"description": "",
|
|
1538
|
+
"tags": [],
|
|
1539
|
+
"id": "#cli/bannerColor",
|
|
1540
|
+
"default": "green",
|
|
1541
|
+
"type": "string"
|
|
1542
|
+
}
|
|
1543
|
+
},
|
|
1544
|
+
"default": {
|
|
1545
|
+
"badgeMessages": [],
|
|
1546
|
+
"bannerColor": "green"
|
|
1547
|
+
},
|
|
1548
|
+
"type": "object"
|
|
1549
|
+
},
|
|
1550
|
+
"editor": {
|
|
1551
|
+
"title": "Your preferred code editor to launch when debugging.",
|
|
1552
|
+
"description": "",
|
|
1553
|
+
"tags": [
|
|
1554
|
+
"@see [documentation](https://github.com/yyx990803/launch-editor#supported-editors)"
|
|
1555
|
+
],
|
|
1556
|
+
"type": "string",
|
|
1557
|
+
"tsType": "string",
|
|
1558
|
+
"id": "#editor"
|
|
1559
|
+
},
|
|
1560
|
+
"watch": {
|
|
1561
|
+
"title": "The watch property lets you watch custom files for restarting the server.",
|
|
1562
|
+
"description": "`chokidar` is used to set up the watchers. To learn more about its pattern options, see chokidar documentation.",
|
|
1563
|
+
"tags": [
|
|
1564
|
+
"@see [chokidar](https://github.com/paulmillr/chokidar#api)",
|
|
1565
|
+
"@example\n```js\nwatch: ['~/custom/*.js']\n```"
|
|
1566
|
+
],
|
|
1567
|
+
"tsType": "string[]",
|
|
1568
|
+
"id": "#watch",
|
|
1569
|
+
"default": [],
|
|
1570
|
+
"type": "array",
|
|
1571
|
+
"items": {
|
|
1572
|
+
"type": "any"
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
"styleExtensions": {
|
|
1576
|
+
"title": "The style extensions that should be resolved by the Nuxt resolver (for example, in `css` property).",
|
|
1577
|
+
"description": "",
|
|
1578
|
+
"tags": [],
|
|
1579
|
+
"id": "#styleExtensions",
|
|
1580
|
+
"default": [
|
|
1581
|
+
".css",
|
|
1582
|
+
".pcss",
|
|
1583
|
+
".postcss",
|
|
1584
|
+
".styl",
|
|
1585
|
+
".stylus",
|
|
1586
|
+
".scss",
|
|
1587
|
+
".sass",
|
|
1588
|
+
".less"
|
|
1589
|
+
],
|
|
1590
|
+
"type": "array",
|
|
1591
|
+
"items": {
|
|
1592
|
+
"type": [
|
|
1593
|
+
"string"
|
|
1594
|
+
]
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
"dir": {
|
|
1598
|
+
"id": "#dir",
|
|
1599
|
+
"properties": {
|
|
1600
|
+
"assets": {
|
|
1601
|
+
"title": "The assets directory (aliased as `~assets` in your build).",
|
|
1602
|
+
"description": "",
|
|
1603
|
+
"tags": [],
|
|
1604
|
+
"id": "#dir/assets",
|
|
1605
|
+
"default": "assets",
|
|
1606
|
+
"type": "string"
|
|
1607
|
+
},
|
|
1608
|
+
"app": {
|
|
1609
|
+
"title": "The directory containing app template files like `app.html` and `router.scrollBehavior.js`",
|
|
1610
|
+
"description": "",
|
|
1611
|
+
"tags": [],
|
|
1612
|
+
"id": "#dir/app",
|
|
1613
|
+
"default": "app",
|
|
1614
|
+
"type": "string"
|
|
1615
|
+
},
|
|
1616
|
+
"globalName": {
|
|
1617
|
+
"title": "Allows customizing the global ID used in the main HTML template as well as the main Vue instance name and other options.",
|
|
1618
|
+
"description": "",
|
|
1619
|
+
"tags": [],
|
|
1620
|
+
"id": "#dir/globalName",
|
|
1621
|
+
"default": "nuxt",
|
|
1622
|
+
"type": "string"
|
|
1623
|
+
},
|
|
1624
|
+
"modern": {
|
|
1625
|
+
"title": "Whether to produce a separate modern build targeting browsers that support ES modules.",
|
|
1626
|
+
"description": "Set to `'server'` to enable server mode, where the Nuxt server checks browser version based on the user agent and serves the correct bundle.\nSet to `'client'` to serve both the modern bundle with `<script type=\"module\">` and the legacy bundle with `<script nomodule>`. It will also provide a `<link rel=\"modulepreload\">` for the modern bundle. Every browser that understands the module type will load the modern bundle while older browsers fall back to the legacy (transpiled) bundle.\nIf you have set `modern: true` and are generating your app or have `ssr: false`, modern will be set to `'client'`.\nIf you have set `modern: true` and are serving your app, modern will be set to `'server'`.",
|
|
1627
|
+
"tags": [
|
|
1628
|
+
"@see [concept of modern mode](https://philipwalton.com/articles/deploying-es2015-code-in-production-today/)"
|
|
1629
|
+
],
|
|
1630
|
+
"tsType": "'server' | 'client' | boolean",
|
|
1631
|
+
"id": "#dir/modern",
|
|
1632
|
+
"default": {},
|
|
1633
|
+
"type": "any"
|
|
1634
|
+
},
|
|
1635
|
+
"mode": {
|
|
1636
|
+
"deprecated": "`mode` option is deprecated",
|
|
1637
|
+
"title": "",
|
|
1638
|
+
"description": "",
|
|
1639
|
+
"tags": [
|
|
1640
|
+
"@deprecated use `ssr` option"
|
|
1641
|
+
],
|
|
1642
|
+
"id": "#dir/mode",
|
|
1643
|
+
"default": "universal",
|
|
1644
|
+
"type": "string"
|
|
1645
|
+
},
|
|
1646
|
+
"env": {
|
|
1647
|
+
"title": "The `env` property defines environment variables that should be available throughout your app (server- and client-side). They can be assigned using server-side environment variables.",
|
|
1648
|
+
"description": "",
|
|
1649
|
+
"tags": [
|
|
1650
|
+
"@note Nuxt uses webpack's `definePlugin` to define these environment variables.\nThis means that the actual `process` or `process.env` from Node.js is neither\navailable nor defined. Each of the `env` properties defined here is individually\nmapped to `process.env.xxxx` and converted during compilation.",
|
|
1651
|
+
"@note Environment variables starting with `NUXT_ENV_` are automatically injected\ninto the process environment."
|
|
1652
|
+
],
|
|
1653
|
+
"id": "#dir/env",
|
|
1654
|
+
"default": {},
|
|
1655
|
+
"type": "object"
|
|
1656
|
+
},
|
|
1657
|
+
"createRequire": {
|
|
1658
|
+
"title": "Set the method Nuxt uses to require modules, such as loading `nuxt.config`, server middleware, and so on - defaulting to `jiti` (which has support for TypeScript and ESM syntax).",
|
|
1659
|
+
"description": "",
|
|
1660
|
+
"tags": [
|
|
1661
|
+
"@see [jiti](https://github.com/unjs/jiti)"
|
|
1662
|
+
],
|
|
1663
|
+
"tsType": "'jiti' | 'native' | ((p: string | { filename: string }) => NodeRequire)",
|
|
1664
|
+
"id": "#dir/createRequire",
|
|
1665
|
+
"type": "function"
|
|
1666
|
+
},
|
|
1667
|
+
"target": {
|
|
1668
|
+
"title": "Whether your Nuxt app should be built to be served by the Nuxt server (`server`) or as static HTML files suitable for a CDN or other static file server (`static`).",
|
|
1669
|
+
"description": "This is unrelated to `ssr`.",
|
|
1670
|
+
"tags": [],
|
|
1671
|
+
"tsType": "'server' | 'static'",
|
|
1672
|
+
"id": "#dir/target",
|
|
1673
|
+
"default": "server",
|
|
1674
|
+
"type": "string"
|
|
1675
|
+
},
|
|
1676
|
+
"globals": {
|
|
1677
|
+
"title": "Customizes specific global names (they are based on `globalName` by default).",
|
|
1678
|
+
"description": "",
|
|
1679
|
+
"tags": [],
|
|
1680
|
+
"id": "#dir/globals",
|
|
1681
|
+
"properties": {
|
|
1682
|
+
"id": {
|
|
1683
|
+
"title": "",
|
|
1684
|
+
"description": "",
|
|
1685
|
+
"tags": [],
|
|
1686
|
+
"tsType": "(globalName: string) => string",
|
|
1687
|
+
"id": "#dir/globals/id",
|
|
1688
|
+
"type": "function"
|
|
1689
|
+
},
|
|
1690
|
+
"nuxt": {
|
|
1691
|
+
"title": "",
|
|
1692
|
+
"description": "",
|
|
1693
|
+
"tags": [],
|
|
1694
|
+
"tsType": "(globalName: string) => string",
|
|
1695
|
+
"id": "#dir/globals/nuxt",
|
|
1696
|
+
"type": "function"
|
|
1697
|
+
},
|
|
1698
|
+
"context": {
|
|
1699
|
+
"title": "",
|
|
1700
|
+
"description": "",
|
|
1701
|
+
"tags": [],
|
|
1702
|
+
"tsType": "(globalName: string) => string",
|
|
1703
|
+
"id": "#dir/globals/context",
|
|
1704
|
+
"type": "function"
|
|
1705
|
+
},
|
|
1706
|
+
"pluginPrefix": {
|
|
1707
|
+
"title": "",
|
|
1708
|
+
"description": "",
|
|
1709
|
+
"tags": [],
|
|
1710
|
+
"tsType": "(globalName: string) => string",
|
|
1711
|
+
"id": "#dir/globals/pluginPrefix",
|
|
1712
|
+
"type": "function"
|
|
1713
|
+
},
|
|
1714
|
+
"readyCallback": {
|
|
1715
|
+
"title": "",
|
|
1716
|
+
"description": "",
|
|
1717
|
+
"tags": [],
|
|
1718
|
+
"tsType": "(globalName: string) => string",
|
|
1719
|
+
"id": "#dir/globals/readyCallback",
|
|
1720
|
+
"type": "function"
|
|
1721
|
+
},
|
|
1722
|
+
"loadedCallback": {
|
|
1723
|
+
"title": "",
|
|
1724
|
+
"description": "",
|
|
1725
|
+
"tags": [],
|
|
1726
|
+
"tsType": "(globalName: string) => string",
|
|
1727
|
+
"id": "#dir/globals/loadedCallback",
|
|
1728
|
+
"type": "function"
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
"default": {},
|
|
1732
|
+
"type": "object"
|
|
1733
|
+
},
|
|
1734
|
+
"store": {
|
|
1735
|
+
"title": "The folder which will be used to auto-generate your Vuex store structure.",
|
|
1736
|
+
"description": "",
|
|
1737
|
+
"tags": [],
|
|
1738
|
+
"id": "#dir/store",
|
|
1739
|
+
"default": "store",
|
|
1740
|
+
"type": "string"
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"default": {
|
|
1744
|
+
"store": "store",
|
|
1745
|
+
"assets": "assets",
|
|
1746
|
+
"app": "app",
|
|
1747
|
+
"globalName": "nuxt",
|
|
1748
|
+
"modern": {},
|
|
1749
|
+
"mode": "universal",
|
|
1750
|
+
"env": {},
|
|
1751
|
+
"target": "server",
|
|
1752
|
+
"globals": {}
|
|
1753
|
+
},
|
|
1754
|
+
"type": "object"
|
|
1755
|
+
},
|
|
1756
|
+
"serverMiddleware": {
|
|
1757
|
+
"title": "Server middleware are connect/express/h3-shaped functions that handle server-side requests. They run on the server and before the Vue renderer.",
|
|
1758
|
+
"description": "By adding entries to `serverMiddleware` you can register additional routes without the need for an external server.\nYou can pass a string, which can be the name of a node dependency or a path to a file. You can also pass an object with `path` and `handler` keys (`handler` can be a path or a function).",
|
|
1759
|
+
"tags": [
|
|
1760
|
+
"@note If you pass a function directly, it will only run in development mode.",
|
|
1761
|
+
"@example\n```js\nserverMiddleware: [\n // Will register redirect-ssl npm package\n 'redirect-ssl',\n // Will register file from project server-middleware directory to handle /server-middleware/* requires\n { path: '/server-middleware', handler: '~/server-middleware/index.js' },\n // We can create custom instances too, but only in development mode, they are ignored for the production bundle.\n { path: '/static2', handler: serveStatic(fileURLToPath(new URL('./static2', import.meta.url))) }\n]\n```",
|
|
1762
|
+
"@note If you don't want middleware to run on all routes you should use the object\nform with a specific path.",
|
|
1763
|
+
"If you pass a string handler, Nuxt will expect that file to export a default function\nthat handles `(req, res, next) => void`.",
|
|
1764
|
+
"@example\n```js\nexport default function (req, res, next) {\n // req is the Node.js http request object\n console.log(req.url)\n // res is the Node.js http response object\n // next is a function to call to invoke the next middleware\n // Don't forget to call next at the end if your middleware is not an endpoint!\n next()\n}\n```",
|
|
1765
|
+
"Alternatively, it can export a connect/express/h3-type app instance.",
|
|
1766
|
+
"@example\n```js\nimport bodyParser from 'body-parser'\nimport createApp from 'express'\nconst app = createApp()\napp.use(bodyParser.json())\napp.all('/getJSON', (req, res) => {\n res.json({ data: 'data' })\n})\nexport default app\n```",
|
|
1767
|
+
"Alternatively, instead of passing an array of `serverMiddleware`, you can pass an object\nwhose keys are the paths and whose values are the handlers (string or function).",
|
|
1768
|
+
"@example\n```js\nexport default {\n serverMiddleware: {\n '/a': '~/server-middleware/a.js',\n '/b': '~/server-middleware/b.js',\n '/c': '~/server-middleware/c.js'\n }\n}\n```"
|
|
1769
|
+
],
|
|
1770
|
+
"id": "#serverMiddleware",
|
|
1771
|
+
"default": [],
|
|
1772
|
+
"type": "array",
|
|
1773
|
+
"items": {
|
|
1774
|
+
"type": "any"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
"generate": {
|
|
1778
|
+
"id": "#generate",
|
|
1779
|
+
"properties": {
|
|
1780
|
+
"dir": {
|
|
1781
|
+
"title": "Directory name that holds all the assets and generated pages for a `static` build.",
|
|
1782
|
+
"description": "",
|
|
1783
|
+
"tags": [],
|
|
1784
|
+
"id": "#generate/dir",
|
|
1785
|
+
"default": "/home/runner/work/bridge/bridge/packages/bridge-schema/dist",
|
|
1786
|
+
"type": "string"
|
|
1787
|
+
},
|
|
1788
|
+
"concurrency": {
|
|
1789
|
+
"title": "The number of routes that are generated concurrently in the same thread.",
|
|
1790
|
+
"description": "",
|
|
1791
|
+
"tags": [],
|
|
1792
|
+
"id": "#generate/concurrency",
|
|
1793
|
+
"default": 500,
|
|
1794
|
+
"type": "number"
|
|
1795
|
+
},
|
|
1796
|
+
"interval": {
|
|
1797
|
+
"title": "Interval in milliseconds between two render cycles to avoid flooding a potential API with calls.",
|
|
1798
|
+
"description": "",
|
|
1799
|
+
"tags": [],
|
|
1800
|
+
"id": "#generate/interval",
|
|
1801
|
+
"default": 0,
|
|
1802
|
+
"type": "number"
|
|
1803
|
+
},
|
|
1804
|
+
"subFolders": {
|
|
1805
|
+
"title": "Set to `false` to disable creating a directory + `index.html` for each route.",
|
|
1806
|
+
"description": "",
|
|
1807
|
+
"tags": [
|
|
1808
|
+
"@example\n```bash\n# subFolders: true\n-| dist/\n---| index.html\n---| about/\n-----| index.html\n---| products/\n-----| item/\n-------| index.html\n\n# subFolders: false\n-| dist/\n---| index.html\n---| about.html\n---| products/\n-----| item.html\n```"
|
|
1809
|
+
],
|
|
1810
|
+
"id": "#generate/subFolders",
|
|
1811
|
+
"default": true,
|
|
1812
|
+
"type": "boolean"
|
|
1813
|
+
},
|
|
1814
|
+
"fallback": {
|
|
1815
|
+
"title": "The path to the fallback HTML file.",
|
|
1816
|
+
"description": "Set this as the error page in your static server configuration, so that unknown routes can be rendered (on the client-side) by Nuxt.\nIf unset or set to a falsy value, the name of the fallback HTML file will be `200.html`. If set to `true`, the filename will be `404.html`. If you provide a string as a value, it will be used instead.",
|
|
1817
|
+
"tags": [
|
|
1818
|
+
"@note Multiple services (e.g. Netlify) detect a `404.html` automatically. If\nyou configure your web server on your own, please consult its documentation\nto find out how to set up an error page (and set it to the `404.html` file)."
|
|
1819
|
+
],
|
|
1820
|
+
"id": "#generate/fallback",
|
|
1821
|
+
"default": "200.html",
|
|
1822
|
+
"type": "string"
|
|
1823
|
+
},
|
|
1824
|
+
"crawler": {
|
|
1825
|
+
"title": "Set to `false` to disable generating pages discovered through crawling relative links in generated pages.",
|
|
1826
|
+
"description": "",
|
|
1827
|
+
"tags": [],
|
|
1828
|
+
"id": "#generate/crawler",
|
|
1829
|
+
"default": true,
|
|
1830
|
+
"type": "boolean"
|
|
1831
|
+
},
|
|
1832
|
+
"manifest": {
|
|
1833
|
+
"title": "Set to `false` to disable generating a `manifest.js` with a list of all generated pages.",
|
|
1834
|
+
"description": "",
|
|
1835
|
+
"tags": [],
|
|
1836
|
+
"id": "#generate/manifest",
|
|
1837
|
+
"default": true,
|
|
1838
|
+
"type": "boolean"
|
|
1839
|
+
},
|
|
1840
|
+
"nojekyll": {
|
|
1841
|
+
"title": "Set to `false` to disable generating a `.nojekyll` file (which aids compatibility with GitHub Pages).",
|
|
1842
|
+
"description": "",
|
|
1843
|
+
"tags": [],
|
|
1844
|
+
"id": "#generate/nojekyll",
|
|
1845
|
+
"default": true,
|
|
1846
|
+
"type": "boolean"
|
|
1847
|
+
},
|
|
1848
|
+
"cache": {
|
|
1849
|
+
"title": "Configure the cache (used with `static` target to avoid rebuilding when no files have changed).",
|
|
1850
|
+
"description": "Set to `false` to disable completely.",
|
|
1851
|
+
"tags": [],
|
|
1852
|
+
"id": "#generate/cache",
|
|
1853
|
+
"properties": {
|
|
1854
|
+
"ignore": {
|
|
1855
|
+
"title": "An array of files or directories to ignore. (It can also be a function that returns an array.)",
|
|
1856
|
+
"description": "",
|
|
1857
|
+
"tags": [],
|
|
1858
|
+
"id": "#generate/cache/ignore",
|
|
1859
|
+
"default": [],
|
|
1860
|
+
"type": "array",
|
|
1861
|
+
"items": {
|
|
1862
|
+
"type": "any"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
"globbyOptions": {
|
|
1866
|
+
"title": "Options to pass to [`globby`](https://github.com/sindresorhus/globby), which is used to generate a 'snapshot' of the source files.",
|
|
1867
|
+
"description": "",
|
|
1868
|
+
"tags": [],
|
|
1869
|
+
"id": "#generate/cache/globbyOptions",
|
|
1870
|
+
"properties": {
|
|
1871
|
+
"gitignore": {
|
|
1872
|
+
"type": "boolean",
|
|
1873
|
+
"default": true
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
"default": {
|
|
1877
|
+
"gitignore": true
|
|
1878
|
+
},
|
|
1879
|
+
"type": "object"
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
"default": {
|
|
1883
|
+
"ignore": [],
|
|
1884
|
+
"globbyOptions": {
|
|
1885
|
+
"gitignore": true
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
"type": "object"
|
|
1889
|
+
},
|
|
1890
|
+
"staticAssets": {
|
|
1891
|
+
"id": "#generate/staticAssets",
|
|
1892
|
+
"properties": {
|
|
1893
|
+
"dir": {
|
|
1894
|
+
"title": "The directory underneath `/_nuxt/`, where static assets (payload, state and manifest files) will live.",
|
|
1895
|
+
"description": "",
|
|
1896
|
+
"tags": [],
|
|
1897
|
+
"id": "#generate/staticAssets/dir",
|
|
1898
|
+
"default": "static",
|
|
1899
|
+
"type": "string"
|
|
1900
|
+
},
|
|
1901
|
+
"base": {
|
|
1902
|
+
"title": "The full path to the directory underneath `/_nuxt/` where static assets (payload, state and manifest files) will live.",
|
|
1903
|
+
"description": "",
|
|
1904
|
+
"tags": [],
|
|
1905
|
+
"id": "#generate/staticAssets/base",
|
|
1906
|
+
"default": "/home/runner/work/bridge/bridge/packages/bridge-schema/dist",
|
|
1907
|
+
"type": "string"
|
|
1908
|
+
},
|
|
1909
|
+
"versionBase": {
|
|
1910
|
+
"title": "The full path to the versioned directory where static assets for the current build are located.",
|
|
1911
|
+
"description": "",
|
|
1912
|
+
"tags": [],
|
|
1913
|
+
"id": "#generate/staticAssets/versionBase",
|
|
1914
|
+
"default": "",
|
|
1915
|
+
"type": "string"
|
|
1916
|
+
},
|
|
1917
|
+
"version": {
|
|
1918
|
+
"title": "A unique string to uniquely identify payload versions (defaults to the current timestamp).",
|
|
1919
|
+
"description": "",
|
|
1920
|
+
"tags": [],
|
|
1921
|
+
"id": "#generate/staticAssets/version",
|
|
1922
|
+
"default": "1669994245",
|
|
1923
|
+
"type": "string"
|
|
1924
|
+
}
|
|
1925
|
+
},
|
|
1926
|
+
"default": {
|
|
1927
|
+
"dir": "static",
|
|
1928
|
+
"base": "/home/runner/work/bridge/bridge/packages/bridge-schema/dist",
|
|
1929
|
+
"versionBase": "",
|
|
1930
|
+
"version": "1669994245"
|
|
1931
|
+
},
|
|
1932
|
+
"type": "object"
|
|
1933
|
+
}
|
|
1934
|
+
},
|
|
1935
|
+
"default": {
|
|
1936
|
+
"dir": "/home/runner/work/bridge/bridge/packages/bridge-schema/dist",
|
|
1937
|
+
"concurrency": 500,
|
|
1938
|
+
"interval": 0,
|
|
1939
|
+
"subFolders": true,
|
|
1940
|
+
"fallback": "200.html",
|
|
1941
|
+
"crawler": true,
|
|
1942
|
+
"manifest": true,
|
|
1943
|
+
"nojekyll": true,
|
|
1944
|
+
"cache": {
|
|
1945
|
+
"ignore": [],
|
|
1946
|
+
"globbyOptions": {
|
|
1947
|
+
"gitignore": true
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1950
|
+
"staticAssets": {
|
|
1951
|
+
"dir": "static",
|
|
1952
|
+
"base": "/home/runner/work/bridge/bridge/packages/bridge-schema/dist",
|
|
1953
|
+
"versionBase": "",
|
|
1954
|
+
"version": "1669994245"
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
"type": "object"
|
|
1958
|
+
},
|
|
1959
|
+
"messages": {
|
|
1960
|
+
"id": "#messages",
|
|
1961
|
+
"properties": {
|
|
1962
|
+
"loading": {
|
|
1963
|
+
"title": "The text that displays on the Nuxt loading indicator when `ssr: false`.",
|
|
1964
|
+
"description": "",
|
|
1965
|
+
"tags": [],
|
|
1966
|
+
"id": "#messages/loading",
|
|
1967
|
+
"default": "Loading...",
|
|
1968
|
+
"type": "string"
|
|
1969
|
+
},
|
|
1970
|
+
"error_404": {
|
|
1971
|
+
"title": "The 404 text on the default Nuxt error page.",
|
|
1972
|
+
"description": "",
|
|
1973
|
+
"tags": [],
|
|
1974
|
+
"id": "#messages/error_404",
|
|
1975
|
+
"default": "This page could not be found",
|
|
1976
|
+
"type": "string"
|
|
1977
|
+
},
|
|
1978
|
+
"server_error": {
|
|
1979
|
+
"title": "The text to display on the default Nuxt error page when there has been a server error.",
|
|
1980
|
+
"description": "",
|
|
1981
|
+
"tags": [],
|
|
1982
|
+
"id": "#messages/server_error",
|
|
1983
|
+
"default": "Server error",
|
|
1984
|
+
"type": "string"
|
|
1985
|
+
},
|
|
1986
|
+
"nuxtjs": {
|
|
1987
|
+
"title": "The text (linked to nuxtjs.org) that appears on the built-in Nuxt error page.",
|
|
1988
|
+
"description": "",
|
|
1989
|
+
"tags": [],
|
|
1990
|
+
"id": "#messages/nuxtjs",
|
|
1991
|
+
"default": "Nuxt",
|
|
1992
|
+
"type": "string"
|
|
1993
|
+
},
|
|
1994
|
+
"back_to_home": {
|
|
1995
|
+
"title": "The text (linked to the home page) that appears on the built-in Nuxt error page.",
|
|
1996
|
+
"description": "",
|
|
1997
|
+
"tags": [],
|
|
1998
|
+
"id": "#messages/back_to_home",
|
|
1999
|
+
"default": "Back to the home page",
|
|
2000
|
+
"type": "string"
|
|
2001
|
+
},
|
|
2002
|
+
"server_error_details": {
|
|
2003
|
+
"title": "The message that will display on a white screen if the built-in Nuxt error page can't be rendered.",
|
|
2004
|
+
"description": "",
|
|
2005
|
+
"tags": [],
|
|
2006
|
+
"id": "#messages/server_error_details",
|
|
2007
|
+
"default": "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.",
|
|
2008
|
+
"type": "string"
|
|
2009
|
+
},
|
|
2010
|
+
"client_error": {
|
|
2011
|
+
"title": "The default error title (if there isn't a specific error message) on the built-in Nuxt error page.",
|
|
2012
|
+
"description": "",
|
|
2013
|
+
"tags": [],
|
|
2014
|
+
"id": "#messages/client_error",
|
|
2015
|
+
"default": "Error",
|
|
2016
|
+
"type": "string"
|
|
2017
|
+
},
|
|
2018
|
+
"client_error_details": {
|
|
2019
|
+
"title": "The error message (in debug mode) on the built-in Nuxt error page.",
|
|
2020
|
+
"description": "",
|
|
2021
|
+
"tags": [],
|
|
2022
|
+
"id": "#messages/client_error_details",
|
|
2023
|
+
"default": "An error occurred while rendering the page. Check developer tools console for details.",
|
|
2024
|
+
"type": "string"
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
"default": {
|
|
2028
|
+
"loading": "Loading...",
|
|
2029
|
+
"error_404": "This page could not be found",
|
|
2030
|
+
"server_error": "Server error",
|
|
2031
|
+
"nuxtjs": "Nuxt",
|
|
2032
|
+
"back_to_home": "Back to the home page",
|
|
2033
|
+
"server_error_details": "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.",
|
|
2034
|
+
"client_error": "Error",
|
|
2035
|
+
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details."
|
|
2036
|
+
},
|
|
2037
|
+
"type": "object"
|
|
2038
|
+
},
|
|
2039
|
+
"render": {
|
|
2040
|
+
"id": "#render",
|
|
2041
|
+
"properties": {
|
|
2042
|
+
"bundleRenderer": {
|
|
2043
|
+
"title": "Use this option to customize the Vue SSR bundle renderer. This option is skipped if `ssr: false`.",
|
|
2044
|
+
"description": "Read [docs for Vue 2](https://ssr.vuejs.org/api/#renderer-options) here.",
|
|
2045
|
+
"tags": [],
|
|
2046
|
+
"id": "#render/bundleRenderer",
|
|
2047
|
+
"properties": {
|
|
2048
|
+
"shouldPrefetch": {
|
|
2049
|
+
"type": "function"
|
|
2050
|
+
},
|
|
2051
|
+
"shouldPreload": {
|
|
2052
|
+
"type": "function"
|
|
2053
|
+
},
|
|
2054
|
+
"runInNewContext": {
|
|
2055
|
+
"title": "enabled by default for development",
|
|
2056
|
+
"description": "",
|
|
2057
|
+
"tags": [],
|
|
2058
|
+
"id": "#render/bundleRenderer/runInNewContext",
|
|
2059
|
+
"default": {},
|
|
2060
|
+
"type": "any"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
"default": {
|
|
2064
|
+
"runInNewContext": {}
|
|
2065
|
+
},
|
|
2066
|
+
"type": "object"
|
|
2067
|
+
},
|
|
2068
|
+
"crossorigin": {
|
|
2069
|
+
"title": "Configure the crossorigin attribute on `<link rel=\"stylesheet\">` and `<script>` tags in generated HTML. [More information](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin).",
|
|
2070
|
+
"description": "",
|
|
2071
|
+
"tags": [],
|
|
2072
|
+
"id": "#render/crossorigin",
|
|
2073
|
+
"default": {},
|
|
2074
|
+
"type": "any"
|
|
2075
|
+
},
|
|
2076
|
+
"resourceHints": {
|
|
2077
|
+
"title": "Adds prefetch and preload links for faster initial page load time. You probably don't want to disable this option unless you have many pages and routes.",
|
|
2078
|
+
"description": "",
|
|
2079
|
+
"tags": [],
|
|
2080
|
+
"id": "#render/resourceHints",
|
|
2081
|
+
"default": true,
|
|
2082
|
+
"type": "boolean"
|
|
2083
|
+
},
|
|
2084
|
+
"ssr": {
|
|
2085
|
+
"title": "Whether to enable rendering of HTML - either dynamically (in server mode) or at generate time.",
|
|
2086
|
+
"description": "This option is automatically set based on global SSR value if not provided. This can be useful to dynamically enable/disable SSR at runtime after image builds (with docker, for example).",
|
|
2087
|
+
"tags": [],
|
|
2088
|
+
"id": "#render/ssr",
|
|
2089
|
+
"default": {},
|
|
2090
|
+
"type": "any"
|
|
2091
|
+
},
|
|
2092
|
+
"ssrLog": {
|
|
2093
|
+
"title": "Forward server-side logs to the browser for better debugging (only available in development).",
|
|
2094
|
+
"description": "Set to `collapsed` to collapse the logs, or `false` to disable.",
|
|
2095
|
+
"tags": [],
|
|
2096
|
+
"id": "#render/ssrLog",
|
|
2097
|
+
"default": false,
|
|
2098
|
+
"type": "boolean"
|
|
2099
|
+
},
|
|
2100
|
+
"http2": {
|
|
2101
|
+
"title": "Configuration for HTTP2 push headers.",
|
|
2102
|
+
"description": "",
|
|
2103
|
+
"tags": [],
|
|
2104
|
+
"id": "#render/http2",
|
|
2105
|
+
"properties": {
|
|
2106
|
+
"push": {
|
|
2107
|
+
"title": "Set to true to enable HTTP2 push headers.",
|
|
2108
|
+
"description": "",
|
|
2109
|
+
"tags": [],
|
|
2110
|
+
"id": "#render/http2/push",
|
|
2111
|
+
"default": false,
|
|
2112
|
+
"type": "boolean"
|
|
2113
|
+
},
|
|
2114
|
+
"shouldPush": {
|
|
2115
|
+
"title": "",
|
|
2116
|
+
"description": "",
|
|
2117
|
+
"tags": [
|
|
2118
|
+
"@deprecated"
|
|
2119
|
+
],
|
|
2120
|
+
"id": "#render/http2/shouldPush",
|
|
2121
|
+
"default": null,
|
|
2122
|
+
"type": "any"
|
|
2123
|
+
},
|
|
2124
|
+
"pushAssets": {
|
|
2125
|
+
"title": "You can control what links to push using this function. It receives `req`, `res`, `publicPath` and a `preloadFiles` array.",
|
|
2126
|
+
"description": "You can add your own assets to the array as well. Using `req` and `res` you can decide what links to push based on the request headers, for example using the cookie with application version.\nAssets will be joined together with `,` and passed as a single `Link` header.",
|
|
2127
|
+
"tags": [
|
|
2128
|
+
"@example\n```js\npushAssets: (req, res, publicPath, preloadFiles) =>\n preloadFiles\n .filter(f => f.asType === 'script' && f.file === 'runtime.js')\n .map(f => `<${publicPath}${f.file}>; rel=preload; as=${f.asType}`)\n```"
|
|
2129
|
+
],
|
|
2130
|
+
"id": "#render/http2/pushAssets",
|
|
2131
|
+
"default": null,
|
|
2132
|
+
"type": "any"
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2135
|
+
"default": {
|
|
2136
|
+
"push": false,
|
|
2137
|
+
"shouldPush": null,
|
|
2138
|
+
"pushAssets": null
|
|
2139
|
+
},
|
|
2140
|
+
"type": "object"
|
|
2141
|
+
},
|
|
2142
|
+
"static": {
|
|
2143
|
+
"title": "Configure the behavior of the `static/` directory.",
|
|
2144
|
+
"description": "See [serve-static docs](https://github.com/expressjs/serve-static) for possible options.",
|
|
2145
|
+
"tags": [],
|
|
2146
|
+
"id": "#render/static",
|
|
2147
|
+
"properties": {
|
|
2148
|
+
"prefix": {
|
|
2149
|
+
"title": "Whether to add the router base to your static assets.",
|
|
2150
|
+
"description": "",
|
|
2151
|
+
"tags": [
|
|
2152
|
+
"@note some URL rewrites might not respect the prefix.",
|
|
2153
|
+
"@example\nAssets: favicon.ico\nRouter base: /t\nWith `prefix: true` (default): /t/favicon.ico\nWith `prefix: false`: /favicon.ico"
|
|
2154
|
+
],
|
|
2155
|
+
"id": "#render/static/prefix",
|
|
2156
|
+
"default": true,
|
|
2157
|
+
"type": "boolean"
|
|
2158
|
+
}
|
|
2159
|
+
},
|
|
2160
|
+
"default": {
|
|
2161
|
+
"prefix": true
|
|
2162
|
+
},
|
|
2163
|
+
"type": "object"
|
|
2164
|
+
},
|
|
2165
|
+
"compressor": {
|
|
2166
|
+
"title": "Configure server compression.",
|
|
2167
|
+
"description": "Set to `false` to disable compression. You can also pass an object of options for [compression middleware](https://www.npmjs.com/package/compression), or use your own middleware by passing it in directly - for example, `otherComp({ myOptions: 'example' })`.",
|
|
2168
|
+
"tags": [],
|
|
2169
|
+
"tsType": "boolean | object | Function",
|
|
2170
|
+
"id": "#render/compressor",
|
|
2171
|
+
"properties": {
|
|
2172
|
+
"threshold": {
|
|
2173
|
+
"type": "number",
|
|
2174
|
+
"default": 0
|
|
2175
|
+
}
|
|
2176
|
+
},
|
|
2177
|
+
"default": {
|
|
2178
|
+
"threshold": 0
|
|
2179
|
+
},
|
|
2180
|
+
"type": "object"
|
|
2181
|
+
},
|
|
2182
|
+
"etag": {
|
|
2183
|
+
"title": "To disable etag for pages set `etag: false`. See [etag docs](https://github.com/jshttp/etag) for possible options. You can use your own hash function by specifying etag.hash:",
|
|
2184
|
+
"description": "",
|
|
2185
|
+
"tags": [
|
|
2186
|
+
"@example\n```js\nimport { murmurHash128 } from 'murmurhash-native'\n\nexport default {\n render: {\n etag: {\n hash: html => murmurHash128(html)\n }\n }\n}\n```\nIn this example we are using `murmurhash-native`, which is faster\nfor larger HTML body sizes. Note that the weak option is ignored\nwhen specifying your own hash function."
|
|
2187
|
+
],
|
|
2188
|
+
"id": "#render/etag",
|
|
2189
|
+
"properties": {
|
|
2190
|
+
"hash": {
|
|
2191
|
+
"type": "boolean",
|
|
2192
|
+
"default": false
|
|
2193
|
+
},
|
|
2194
|
+
"weak": {
|
|
2195
|
+
"type": "boolean",
|
|
2196
|
+
"default": false
|
|
2197
|
+
}
|
|
2198
|
+
},
|
|
2199
|
+
"default": {
|
|
2200
|
+
"hash": false,
|
|
2201
|
+
"weak": false
|
|
2202
|
+
},
|
|
2203
|
+
"type": "object"
|
|
2204
|
+
},
|
|
2205
|
+
"csp": {
|
|
2206
|
+
"title": "Use this to configure Content-Security-Policy to load external resources. [Read more](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).",
|
|
2207
|
+
"description": "Set to `true` to enable, or you can pass options to fine-tune your CSP options.\n**Prerequisites**: These CSP settings are only effective when using Nuxt with `mode: 'server'` to serve your SSR application.\n**Updating settings**: These settings are read by the Nuxt server directly from `nuxt.config`. This means changes to these settings take effect when the server is restarted. There is no need to rebuild the application to update CSP settings.",
|
|
2208
|
+
"tags": [
|
|
2209
|
+
"@example\n```js\nexport default {\n render: {\n csp: {\n hashAlgorithm: 'sha256',\n policies: {\n 'script-src': [\n 'https://www.google-analytics.com',\n 'https://name.example.com'\n ],\n 'report-uri': ['https://report.example.com/report-csp-violations']\n },\n addMeta: true\n }\n }\n}\n```",
|
|
2210
|
+
"The following example allows Google Analytics, LogRocket.io, and Sentry.io\nfor logging and analytic tracking.",
|
|
2211
|
+
"Review [this blog on Sentry.io](https://blog.sentry.io/2018/09/04/how-sentry-captures-csp-violations)\nto learn what tracking link you should use.",
|
|
2212
|
+
"@example\n```js\n// PRIMARY_HOSTS = `loc.example-website.com`\nexport default {\n render: {\n csp: {\n reportOnly: true,\n hashAlgorithm: 'sha256',\n policies: {\n 'default-src': [\"'self'\"],\n 'img-src': ['https:', '*.google-analytics.com'],\n 'worker-src': [\"'self'\", `blob:`, PRIMARY_HOSTS, '*.logrocket.io'],\n 'style-src': [\"'self'\", \"'unsafe-inline'\", PRIMARY_HOSTS],\n 'script-src': [\n \"'self'\",\n \"'unsafe-inline'\",\n PRIMARY_HOSTS,\n 'sentry.io',\n '*.sentry-cdn.com',\n '*.google-analytics.com',\n '*.logrocket.io'\n ],\n 'connect-src': [PRIMARY_HOSTS, 'sentry.io', '*.google-analytics.com'],\n 'form-action': [\"'self'\"],\n 'frame-ancestors': [\"'none'\"],\n 'object-src': [\"'none'\"],\n 'base-uri': [PRIMARY_HOSTS],\n 'report-uri': [\n `https://sentry.io/api/<project>/security/?sentry_key=<key>`\n ]\n }\n }\n }\n}\n```"
|
|
2213
|
+
],
|
|
2214
|
+
"id": "#render/csp",
|
|
2215
|
+
"default": false,
|
|
2216
|
+
"type": "boolean"
|
|
2217
|
+
},
|
|
2218
|
+
"dist": {
|
|
2219
|
+
"title": "Options used for serving distribution files. Only applicable in production.",
|
|
2220
|
+
"description": "See [serve-static docs](https://www.npmjs.com/package/serve-static) for possible options.",
|
|
2221
|
+
"tags": [],
|
|
2222
|
+
"id": "#render/dist",
|
|
2223
|
+
"properties": {
|
|
2224
|
+
"index": {
|
|
2225
|
+
"type": "boolean",
|
|
2226
|
+
"default": false
|
|
2227
|
+
},
|
|
2228
|
+
"maxAge": {
|
|
2229
|
+
"type": "string",
|
|
2230
|
+
"default": "1y"
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2233
|
+
"default": {
|
|
2234
|
+
"index": false,
|
|
2235
|
+
"maxAge": "1y"
|
|
2236
|
+
},
|
|
2237
|
+
"type": "object"
|
|
2238
|
+
},
|
|
2239
|
+
"fallback": {
|
|
2240
|
+
"title": "Configure fallback behavior for [`serve-placeholder` middleware](https://github.com/nuxt/serve-placeholder).",
|
|
2241
|
+
"description": "Example of allowing `.js` extension for routing (for example, `/repos/nuxt.js`):",
|
|
2242
|
+
"tags": [
|
|
2243
|
+
"@example\n```js\nexport default {\n render: {\n fallback: {\n static: {\n // Avoid sending 404 for these extensions\n handlers: {\n '.js': false\n }\n }\n }\n }\n}\n```"
|
|
2244
|
+
],
|
|
2245
|
+
"id": "#render/fallback",
|
|
2246
|
+
"properties": {
|
|
2247
|
+
"dist": {
|
|
2248
|
+
"title": "For routes matching the publicPath (`/_nuxt/*`). Disable by setting to `false`.",
|
|
2249
|
+
"description": "",
|
|
2250
|
+
"tags": [],
|
|
2251
|
+
"id": "#render/fallback/dist",
|
|
2252
|
+
"default": {},
|
|
2253
|
+
"type": "any"
|
|
2254
|
+
},
|
|
2255
|
+
"static": {
|
|
2256
|
+
"title": "For all other routes (`/*`). Disable by setting to `false`.",
|
|
2257
|
+
"description": "",
|
|
2258
|
+
"tags": [],
|
|
2259
|
+
"id": "#render/fallback/static",
|
|
2260
|
+
"properties": {
|
|
2261
|
+
"skipUnknown": {
|
|
2262
|
+
"type": "boolean",
|
|
2263
|
+
"default": true
|
|
2264
|
+
},
|
|
2265
|
+
"handlers": {
|
|
2266
|
+
"id": "#render/fallback/static/handlers",
|
|
2267
|
+
"properties": {
|
|
2268
|
+
".htm": {
|
|
2269
|
+
"type": "boolean",
|
|
2270
|
+
"default": false
|
|
2271
|
+
},
|
|
2272
|
+
".html": {
|
|
2273
|
+
"type": "boolean",
|
|
2274
|
+
"default": false
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
"default": {
|
|
2278
|
+
"": {
|
|
2279
|
+
"htm": false,
|
|
2280
|
+
"html": false
|
|
2281
|
+
}
|
|
2282
|
+
},
|
|
2283
|
+
"type": "object"
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
"default": {
|
|
2287
|
+
"skipUnknown": true,
|
|
2288
|
+
"handlers": {
|
|
2289
|
+
"": {
|
|
2290
|
+
"htm": false,
|
|
2291
|
+
"html": false
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
"type": "object"
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
"default": {
|
|
2299
|
+
"dist": {},
|
|
2300
|
+
"static": {
|
|
2301
|
+
"skipUnknown": true,
|
|
2302
|
+
"handlers": {
|
|
2303
|
+
"": {
|
|
2304
|
+
"htm": false,
|
|
2305
|
+
"html": false
|
|
2306
|
+
}
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
"type": "object"
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
"default": {
|
|
2314
|
+
"ssr": {},
|
|
2315
|
+
"bundleRenderer": {
|
|
2316
|
+
"runInNewContext": {}
|
|
2317
|
+
},
|
|
2318
|
+
"crossorigin": {},
|
|
2319
|
+
"resourceHints": true,
|
|
2320
|
+
"ssrLog": false,
|
|
2321
|
+
"http2": {
|
|
2322
|
+
"push": false,
|
|
2323
|
+
"shouldPush": null,
|
|
2324
|
+
"pushAssets": null
|
|
2325
|
+
},
|
|
2326
|
+
"static": {
|
|
2327
|
+
"prefix": true
|
|
2328
|
+
},
|
|
2329
|
+
"compressor": {
|
|
2330
|
+
"threshold": 0
|
|
2331
|
+
},
|
|
2332
|
+
"etag": {
|
|
2333
|
+
"hash": false,
|
|
2334
|
+
"weak": false
|
|
2335
|
+
},
|
|
2336
|
+
"csp": false,
|
|
2337
|
+
"dist": {
|
|
2338
|
+
"index": false,
|
|
2339
|
+
"maxAge": "1y"
|
|
2340
|
+
},
|
|
2341
|
+
"fallback": {
|
|
2342
|
+
"dist": {},
|
|
2343
|
+
"static": {
|
|
2344
|
+
"skipUnknown": true,
|
|
2345
|
+
"handlers": {
|
|
2346
|
+
"": {
|
|
2347
|
+
"htm": false,
|
|
2348
|
+
"html": false
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
},
|
|
2354
|
+
"type": "object"
|
|
2355
|
+
},
|
|
2356
|
+
"router": {
|
|
2357
|
+
"id": "#router",
|
|
2358
|
+
"properties": {
|
|
2359
|
+
"mode": {
|
|
2360
|
+
"title": "Configure the router mode.",
|
|
2361
|
+
"description": "For server-side rendering it is not recommended to change it.",
|
|
2362
|
+
"tags": [],
|
|
2363
|
+
"id": "#router/mode",
|
|
2364
|
+
"default": "history",
|
|
2365
|
+
"type": "string"
|
|
2366
|
+
},
|
|
2367
|
+
"base": {
|
|
2368
|
+
"title": "The base URL of the app. For example, if the entire single page application is served under `/app/`, then base should use the value `'/app/'`.",
|
|
2369
|
+
"description": "This can be useful if you need to serve Nuxt as a different context root, from within a bigger web site.",
|
|
2370
|
+
"tags": [],
|
|
2371
|
+
"id": "#router/base",
|
|
2372
|
+
"default": {},
|
|
2373
|
+
"type": "any"
|
|
2374
|
+
},
|
|
2375
|
+
"_routerBaseSpecified": {
|
|
2376
|
+
"title": "",
|
|
2377
|
+
"description": "",
|
|
2378
|
+
"tags": [
|
|
2379
|
+
"@private"
|
|
2380
|
+
],
|
|
2381
|
+
"id": "#router/_routerBaseSpecified",
|
|
2382
|
+
"default": false,
|
|
2383
|
+
"type": "boolean"
|
|
2384
|
+
},
|
|
2385
|
+
"routes": {
|
|
2386
|
+
"type": "array",
|
|
2387
|
+
"default": [],
|
|
2388
|
+
"items": {
|
|
2389
|
+
"type": "any"
|
|
2390
|
+
}
|
|
2391
|
+
},
|
|
2392
|
+
"routeNameSplitter": {
|
|
2393
|
+
"title": "This allows changing the separator between route names that Nuxt uses.",
|
|
2394
|
+
"description": "Imagine we have the page file `pages/posts/_id.vue`. Nuxt will generate the route name programmatically, in this case `posts-id`. If you change the routeNameSplitter config to `/` the name will change to `posts/id`.",
|
|
2395
|
+
"tags": [],
|
|
2396
|
+
"id": "#router/routeNameSplitter",
|
|
2397
|
+
"default": "-",
|
|
2398
|
+
"type": "string"
|
|
2399
|
+
},
|
|
2400
|
+
"middleware": {
|
|
2401
|
+
"title": "Set the default(s) middleware for every page of the application.",
|
|
2402
|
+
"description": "",
|
|
2403
|
+
"tags": [],
|
|
2404
|
+
"id": "#router/middleware",
|
|
2405
|
+
"default": [],
|
|
2406
|
+
"type": "array",
|
|
2407
|
+
"items": {
|
|
2408
|
+
"type": "any"
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
"linkActiveClass": {
|
|
2412
|
+
"title": "Globally configure `<nuxt-link>` default active class.",
|
|
2413
|
+
"description": "",
|
|
2414
|
+
"tags": [],
|
|
2415
|
+
"id": "#router/linkActiveClass",
|
|
2416
|
+
"default": "nuxt-link-active",
|
|
2417
|
+
"type": "string"
|
|
2418
|
+
},
|
|
2419
|
+
"linkExactActiveClass": {
|
|
2420
|
+
"title": "Globally configure `<nuxt-link>` default exact active class.",
|
|
2421
|
+
"description": "",
|
|
2422
|
+
"tags": [],
|
|
2423
|
+
"id": "#router/linkExactActiveClass",
|
|
2424
|
+
"default": "nuxt-link-exact-active",
|
|
2425
|
+
"type": "string"
|
|
2426
|
+
},
|
|
2427
|
+
"linkPrefetchedClass": {
|
|
2428
|
+
"title": "Globally configure `<nuxt-link>` default prefetch class (feature disabled by default).",
|
|
2429
|
+
"description": "",
|
|
2430
|
+
"tags": [],
|
|
2431
|
+
"id": "#router/linkPrefetchedClass",
|
|
2432
|
+
"default": false,
|
|
2433
|
+
"type": "boolean"
|
|
2434
|
+
},
|
|
2435
|
+
"extendRoutes": {
|
|
2436
|
+
"title": "You can pass a function to extend the routes created by Nuxt.",
|
|
2437
|
+
"description": "",
|
|
2438
|
+
"tags": [
|
|
2439
|
+
"@example\n```js\nimport { fileURLToPath } from 'url'\nexport default {\n router: {\n extendRoutes(routes, resolve) {\n routes.push({\n name: 'custom',\n path: '*',\n component: fileURLToPath(new URL('./pages/404.vue', import.meta.url))\n })\n }\n }\n}\n```"
|
|
2440
|
+
],
|
|
2441
|
+
"id": "#router/extendRoutes",
|
|
2442
|
+
"default": null,
|
|
2443
|
+
"type": "any"
|
|
2444
|
+
},
|
|
2445
|
+
"scrollBehavior": {
|
|
2446
|
+
"deprecated": "router.scrollBehavior` property is deprecated in favor of using `~/app/router.scrollBehavior.js` file, learn more: https://nuxtjs.org/api/configuration-router#scrollbehavior",
|
|
2447
|
+
"title": "The `scrollBehavior` option lets you define a custom behavior for the scroll position between the routes. This method is called every time a page is rendered. To learn more about it, see the `vue-router` documentation.",
|
|
2448
|
+
"description": "",
|
|
2449
|
+
"tags": [
|
|
2450
|
+
"@see [vue-router `scrollBehavior` documentation](https://router.vuejs.org/guide/advanced/scroll-behavior.html)."
|
|
2451
|
+
],
|
|
2452
|
+
"id": "#router/scrollBehavior",
|
|
2453
|
+
"default": {},
|
|
2454
|
+
"type": "any"
|
|
2455
|
+
},
|
|
2456
|
+
"parseQuery": {
|
|
2457
|
+
"title": "Provide custom query string parse function. Overrides the default.",
|
|
2458
|
+
"description": "",
|
|
2459
|
+
"tags": [],
|
|
2460
|
+
"id": "#router/parseQuery",
|
|
2461
|
+
"default": false,
|
|
2462
|
+
"type": "boolean"
|
|
2463
|
+
},
|
|
2464
|
+
"stringifyQuery": {
|
|
2465
|
+
"title": "Provide custom query string stringify function. Overrides the default.",
|
|
2466
|
+
"description": "",
|
|
2467
|
+
"tags": [],
|
|
2468
|
+
"id": "#router/stringifyQuery",
|
|
2469
|
+
"default": false,
|
|
2470
|
+
"type": "boolean"
|
|
2471
|
+
},
|
|
2472
|
+
"fallback": {
|
|
2473
|
+
"title": "Controls whether the router should fall back to hash mode when the browser does not support history.pushState, but mode is set to history.",
|
|
2474
|
+
"description": "Setting this to `false` essentially makes every router-link navigation a full page refresh in IE9. This is useful when the app is server-rendered and needs to work in IE9, because a hash mode URL does not work with SSR.",
|
|
2475
|
+
"tags": [],
|
|
2476
|
+
"id": "#router/fallback",
|
|
2477
|
+
"default": false,
|
|
2478
|
+
"type": "boolean"
|
|
2479
|
+
},
|
|
2480
|
+
"prefetchLinks": {
|
|
2481
|
+
"title": "Configure `<nuxt-link>` to prefetch the code-splitted page when detected within the viewport. Requires [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) to be supported (see [Caniuse](https://caniuse.com/intersectionobserver)).",
|
|
2482
|
+
"description": "",
|
|
2483
|
+
"tags": [],
|
|
2484
|
+
"id": "#router/prefetchLinks",
|
|
2485
|
+
"default": true,
|
|
2486
|
+
"type": "boolean"
|
|
2487
|
+
},
|
|
2488
|
+
"prefetchPayloads": {
|
|
2489
|
+
"title": "When using `nuxt generate` with target: 'static', Nuxt will generate a payload.js for each page.",
|
|
2490
|
+
"description": "With this option enabled, Nuxt will automatically prefetch the payload of the linked page when the `<nuxt-link>` is visible in the viewport, making instant navigation.",
|
|
2491
|
+
"tags": [],
|
|
2492
|
+
"id": "#router/prefetchPayloads",
|
|
2493
|
+
"default": true,
|
|
2494
|
+
"type": "boolean"
|
|
2495
|
+
},
|
|
2496
|
+
"trailingSlash": {
|
|
2497
|
+
"title": "If this option is set to `true`, trailing slashes will be appended to every route. If set to `false`, they'll be removed.",
|
|
2498
|
+
"description": "",
|
|
2499
|
+
"tags": [
|
|
2500
|
+
"@warning This option should not be set without preparation and has to\nbe tested thoroughly. When setting `trailingSlash` to something else than\n`undefined`, the opposite route will stop working. Thus, 301 redirects should\nbe in place and your internal linking has to be adapted correctly. If you set\n`trailingSlash` to `true`, then only `example.com/abc/` will work, but not\n`example.com/abc`. On `false`, it's vice-versa."
|
|
2501
|
+
],
|
|
2502
|
+
"id": "#router/trailingSlash",
|
|
2503
|
+
"default": {},
|
|
2504
|
+
"type": "any"
|
|
2505
|
+
}
|
|
2506
|
+
},
|
|
2507
|
+
"default": {
|
|
2508
|
+
"mode": "history",
|
|
2509
|
+
"base": {},
|
|
2510
|
+
"_routerBaseSpecified": false,
|
|
2511
|
+
"routes": [],
|
|
2512
|
+
"routeNameSplitter": "-",
|
|
2513
|
+
"middleware": [],
|
|
2514
|
+
"linkActiveClass": "nuxt-link-active",
|
|
2515
|
+
"linkExactActiveClass": "nuxt-link-exact-active",
|
|
2516
|
+
"linkPrefetchedClass": false,
|
|
2517
|
+
"extendRoutes": null,
|
|
2518
|
+
"scrollBehavior": {},
|
|
2519
|
+
"parseQuery": false,
|
|
2520
|
+
"stringifyQuery": false,
|
|
2521
|
+
"fallback": false,
|
|
2522
|
+
"prefetchLinks": true,
|
|
2523
|
+
"prefetchPayloads": true,
|
|
2524
|
+
"trailingSlash": {}
|
|
2525
|
+
},
|
|
2526
|
+
"type": "object"
|
|
2527
|
+
},
|
|
2528
|
+
"server": {
|
|
2529
|
+
"id": "#server",
|
|
2530
|
+
"properties": {
|
|
2531
|
+
"https": {
|
|
2532
|
+
"title": "Whether to enable HTTPS.",
|
|
2533
|
+
"description": "",
|
|
2534
|
+
"tags": [
|
|
2535
|
+
"@example\n```\nimport { fileURLToPath } from 'node:url'\nexport default {\n server: {\n https: {\n key: fs.readFileSync(fileURLToPath(new URL('./server.key', import.meta.url))),\n cert: fs.readFileSync(fileURLToPath(new URL('./server.crt', import.meta.url)))\n }\n }\n}\n```"
|
|
2536
|
+
],
|
|
2537
|
+
"tsType": "false | { key: string; cert: string }",
|
|
2538
|
+
"id": "#server/https",
|
|
2539
|
+
"default": false,
|
|
2540
|
+
"type": "boolean"
|
|
2541
|
+
},
|
|
2542
|
+
"port": {
|
|
2543
|
+
"type": "number",
|
|
2544
|
+
"default": 3000
|
|
2545
|
+
},
|
|
2546
|
+
"host": {
|
|
2547
|
+
"type": "string",
|
|
2548
|
+
"default": "localhost"
|
|
2549
|
+
},
|
|
2550
|
+
"socket": {},
|
|
2551
|
+
"timing": {
|
|
2552
|
+
"title": "Enabling timing adds a middleware to measure the time elapsed during server-side rendering and adds it to the headers as 'Server-Timing'.",
|
|
2553
|
+
"description": "Apart from true/false, this can be an object for providing options. Currently, only `total` is supported (which directly tracks the whole time spent on server-side rendering.",
|
|
2554
|
+
"tags": [],
|
|
2555
|
+
"id": "#server/timing",
|
|
2556
|
+
"type": "function"
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
"default": {
|
|
2560
|
+
"https": false,
|
|
2561
|
+
"port": 3000,
|
|
2562
|
+
"host": "localhost"
|
|
2563
|
+
},
|
|
2564
|
+
"type": "object"
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
"default": {
|
|
2568
|
+
"vue": {
|
|
2569
|
+
"config": {
|
|
2570
|
+
"silent": true,
|
|
2571
|
+
"performance": {}
|
|
2572
|
+
}
|
|
2573
|
+
},
|
|
2574
|
+
"app": {
|
|
2575
|
+
"assetsPath": {}
|
|
2576
|
+
},
|
|
2577
|
+
"appTemplatePath": "/home/runner/work/bridge/bridge/packages/bridge-schema/views/app.template.html",
|
|
2578
|
+
"store": false,
|
|
2579
|
+
"vueMeta": null,
|
|
2580
|
+
"head": {
|
|
2581
|
+
"meta": [],
|
|
2582
|
+
"link": [],
|
|
2583
|
+
"style": [],
|
|
2584
|
+
"script": []
|
|
2585
|
+
},
|
|
2586
|
+
"meta": {
|
|
2587
|
+
"meta": [],
|
|
2588
|
+
"link": [],
|
|
2589
|
+
"style": [],
|
|
2590
|
+
"script": []
|
|
2591
|
+
},
|
|
2592
|
+
"fetch": {
|
|
2593
|
+
"server": true,
|
|
2594
|
+
"client": true
|
|
2595
|
+
},
|
|
2596
|
+
"extendPlugins": null,
|
|
2597
|
+
"layouts": {},
|
|
2598
|
+
"ErrorPage": null,
|
|
2599
|
+
"loading": {
|
|
2600
|
+
"color": "black",
|
|
2601
|
+
"failedColor": "red",
|
|
2602
|
+
"height": "2px",
|
|
2603
|
+
"throttle": 200,
|
|
2604
|
+
"duration": 5000,
|
|
2605
|
+
"continuous": false,
|
|
2606
|
+
"rtl": false,
|
|
2607
|
+
"css": true
|
|
2608
|
+
},
|
|
2609
|
+
"loadingIndicator": {
|
|
2610
|
+
"name": "default",
|
|
2611
|
+
"color": "black",
|
|
2612
|
+
"color2": "#F5F5F5",
|
|
2613
|
+
"background": "white",
|
|
2614
|
+
"loading": "Loading..."
|
|
2615
|
+
},
|
|
2616
|
+
"pageTransition": {
|
|
2617
|
+
"name": "page",
|
|
2618
|
+
"mode": "out-in",
|
|
2619
|
+
"appear": false,
|
|
2620
|
+
"appearClass": "appear",
|
|
2621
|
+
"appearActiveClass": "appear-active",
|
|
2622
|
+
"appearToClass": "appear-to"
|
|
2623
|
+
},
|
|
2624
|
+
"layoutTransition": {
|
|
2625
|
+
"name": "layout",
|
|
2626
|
+
"mode": "out-in"
|
|
2627
|
+
},
|
|
2628
|
+
"features": {
|
|
2629
|
+
"store": true,
|
|
2630
|
+
"layouts": true,
|
|
2631
|
+
"meta": true,
|
|
2632
|
+
"middleware": true,
|
|
2633
|
+
"transitions": true,
|
|
2634
|
+
"deprecations": true,
|
|
2635
|
+
"validate": true,
|
|
2636
|
+
"useAsyncData": true,
|
|
2637
|
+
"fetch": true,
|
|
2638
|
+
"clientOnline": true,
|
|
2639
|
+
"clientPrefetch": true,
|
|
2640
|
+
"componentAliases": true,
|
|
2641
|
+
"componentClientOnly": true
|
|
2642
|
+
},
|
|
2643
|
+
"build": {
|
|
2644
|
+
"quiet": true,
|
|
2645
|
+
"analyze": false,
|
|
2646
|
+
"profile": false,
|
|
2647
|
+
"extractCSS": false,
|
|
2648
|
+
"cssSourceMap": {},
|
|
2649
|
+
"ssr": {},
|
|
2650
|
+
"parallel": false,
|
|
2651
|
+
"cache": false,
|
|
2652
|
+
"standalone": false,
|
|
2653
|
+
"publicPath": {},
|
|
2654
|
+
"serverURLPolyfill": "url",
|
|
2655
|
+
"filenames": {},
|
|
2656
|
+
"loaders": {
|
|
2657
|
+
"file": {
|
|
2658
|
+
"esModule": false
|
|
2659
|
+
},
|
|
2660
|
+
"fontUrl": {
|
|
2661
|
+
"esModule": false,
|
|
2662
|
+
"limit": 1000
|
|
2663
|
+
},
|
|
2664
|
+
"imgUrl": {
|
|
2665
|
+
"esModule": false,
|
|
2666
|
+
"limit": 1000
|
|
2667
|
+
},
|
|
2668
|
+
"pugPlain": {},
|
|
2669
|
+
"vue": {
|
|
2670
|
+
"productionMode": true,
|
|
2671
|
+
"transformAssetUrls": {
|
|
2672
|
+
"video": "src",
|
|
2673
|
+
"source": "src",
|
|
2674
|
+
"object": "src",
|
|
2675
|
+
"embed": "src"
|
|
2676
|
+
},
|
|
2677
|
+
"compilerOptions": {}
|
|
2678
|
+
},
|
|
2679
|
+
"css": {
|
|
2680
|
+
"importLoaders": 0,
|
|
2681
|
+
"esModule": false,
|
|
2682
|
+
"sourcemap": true
|
|
2683
|
+
},
|
|
2684
|
+
"cssModules": {
|
|
2685
|
+
"importLoaders": 0,
|
|
2686
|
+
"esModule": false,
|
|
2687
|
+
"modules": {
|
|
2688
|
+
"localIdentName": "[local]_[hash:base64:5]"
|
|
2689
|
+
},
|
|
2690
|
+
"sourcemap": true
|
|
2691
|
+
},
|
|
2692
|
+
"less": {
|
|
2693
|
+
"sourcemap": true
|
|
2694
|
+
},
|
|
2695
|
+
"sass": {
|
|
2696
|
+
"sassOptions": {
|
|
2697
|
+
"indentedSyntax": true
|
|
2698
|
+
},
|
|
2699
|
+
"sourcemap": true
|
|
2700
|
+
},
|
|
2701
|
+
"scss": {
|
|
2702
|
+
"sourcemap": true
|
|
2703
|
+
},
|
|
2704
|
+
"stylus": {
|
|
2705
|
+
"sourcemap": true
|
|
2706
|
+
},
|
|
2707
|
+
"vueStyle": {
|
|
2708
|
+
"sourcemap": true
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
"styleResources": {},
|
|
2712
|
+
"plugins": [],
|
|
2713
|
+
"terser": {},
|
|
2714
|
+
"hardSource": false,
|
|
2715
|
+
"aggressiveCodeRemoval": false,
|
|
2716
|
+
"optimizeCSS": false,
|
|
2717
|
+
"optimization": {
|
|
2718
|
+
"runtimeChunk": "single",
|
|
2719
|
+
"minimize": true,
|
|
2720
|
+
"minimizer": {},
|
|
2721
|
+
"splitChunks": {
|
|
2722
|
+
"chunks": "all",
|
|
2723
|
+
"automaticNameDelimiter": "/",
|
|
2724
|
+
"cacheGroups": {}
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
"splitChunks": {
|
|
2728
|
+
"layouts": false,
|
|
2729
|
+
"pages": true,
|
|
2730
|
+
"commons": true
|
|
2731
|
+
},
|
|
2732
|
+
"corejs": "auto",
|
|
2733
|
+
"babel": {
|
|
2734
|
+
"configFile": false,
|
|
2735
|
+
"babelrc": false,
|
|
2736
|
+
"plugins": [],
|
|
2737
|
+
"presets": {},
|
|
2738
|
+
"cacheDirectory": {}
|
|
2739
|
+
},
|
|
2740
|
+
"postcss": {
|
|
2741
|
+
"postcssOptions": {},
|
|
2742
|
+
"order": ""
|
|
2743
|
+
},
|
|
2744
|
+
"html": {
|
|
2745
|
+
"minify": {
|
|
2746
|
+
"collapseBooleanAttributes": true,
|
|
2747
|
+
"decodeEntities": true,
|
|
2748
|
+
"minifyCSS": true,
|
|
2749
|
+
"minifyJS": true,
|
|
2750
|
+
"processConditionalComments": true,
|
|
2751
|
+
"removeEmptyAttributes": true,
|
|
2752
|
+
"removeRedundantAttributes": true,
|
|
2753
|
+
"trimCustomFragments": true,
|
|
2754
|
+
"useShortDoctype": true
|
|
2755
|
+
}
|
|
2756
|
+
},
|
|
2757
|
+
"template": {},
|
|
2758
|
+
"watch": [],
|
|
2759
|
+
"devMiddleware": {
|
|
2760
|
+
"stats": "none"
|
|
2761
|
+
},
|
|
2762
|
+
"hotMiddleware": {},
|
|
2763
|
+
"vendor": {
|
|
2764
|
+
"$meta": {
|
|
2765
|
+
"deprecated": "vendor has been deprecated since nuxt 2"
|
|
2766
|
+
}
|
|
2767
|
+
},
|
|
2768
|
+
"stats": false,
|
|
2769
|
+
"friendlyErrors": true,
|
|
2770
|
+
"additionalExtensions": [],
|
|
2771
|
+
"warningIgnoreFilters": [],
|
|
2772
|
+
"followSymlinks": false
|
|
2773
|
+
},
|
|
2774
|
+
"cli": {
|
|
2775
|
+
"badgeMessages": [],
|
|
2776
|
+
"bannerColor": "green"
|
|
2777
|
+
},
|
|
2778
|
+
"watch": [],
|
|
2779
|
+
"styleExtensions": [
|
|
2780
|
+
".css",
|
|
2781
|
+
".pcss",
|
|
2782
|
+
".postcss",
|
|
2783
|
+
".styl",
|
|
2784
|
+
".stylus",
|
|
2785
|
+
".scss",
|
|
2786
|
+
".sass",
|
|
2787
|
+
".less"
|
|
2788
|
+
],
|
|
2789
|
+
"dir": {
|
|
2790
|
+
"store": "store",
|
|
2791
|
+
"assets": "assets",
|
|
2792
|
+
"app": "app",
|
|
2793
|
+
"globalName": "nuxt",
|
|
2794
|
+
"modern": {},
|
|
2795
|
+
"mode": "universal",
|
|
2796
|
+
"env": {},
|
|
2797
|
+
"target": "server",
|
|
2798
|
+
"globals": {}
|
|
2799
|
+
},
|
|
2800
|
+
"serverMiddleware": [],
|
|
2801
|
+
"generate": {
|
|
2802
|
+
"dir": "/home/runner/work/bridge/bridge/packages/bridge-schema/dist",
|
|
2803
|
+
"concurrency": 500,
|
|
2804
|
+
"interval": 0,
|
|
2805
|
+
"subFolders": true,
|
|
2806
|
+
"fallback": "200.html",
|
|
2807
|
+
"crawler": true,
|
|
2808
|
+
"manifest": true,
|
|
2809
|
+
"nojekyll": true,
|
|
2810
|
+
"cache": {
|
|
2811
|
+
"ignore": [],
|
|
2812
|
+
"globbyOptions": {
|
|
2813
|
+
"gitignore": true
|
|
2814
|
+
}
|
|
2815
|
+
},
|
|
2816
|
+
"staticAssets": {
|
|
2817
|
+
"dir": "static",
|
|
2818
|
+
"base": "/home/runner/work/bridge/bridge/packages/bridge-schema/dist",
|
|
2819
|
+
"versionBase": "",
|
|
2820
|
+
"version": "1669994245"
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2823
|
+
"messages": {
|
|
2824
|
+
"loading": "Loading...",
|
|
2825
|
+
"error_404": "This page could not be found",
|
|
2826
|
+
"server_error": "Server error",
|
|
2827
|
+
"nuxtjs": "Nuxt",
|
|
2828
|
+
"back_to_home": "Back to the home page",
|
|
2829
|
+
"server_error_details": "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.",
|
|
2830
|
+
"client_error": "Error",
|
|
2831
|
+
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details."
|
|
2832
|
+
},
|
|
2833
|
+
"render": {
|
|
2834
|
+
"ssr": {},
|
|
2835
|
+
"bundleRenderer": {
|
|
2836
|
+
"runInNewContext": {}
|
|
2837
|
+
},
|
|
2838
|
+
"crossorigin": {},
|
|
2839
|
+
"resourceHints": true,
|
|
2840
|
+
"ssrLog": false,
|
|
2841
|
+
"http2": {
|
|
2842
|
+
"push": false,
|
|
2843
|
+
"shouldPush": null,
|
|
2844
|
+
"pushAssets": null
|
|
2845
|
+
},
|
|
2846
|
+
"static": {
|
|
2847
|
+
"prefix": true
|
|
2848
|
+
},
|
|
2849
|
+
"compressor": {
|
|
2850
|
+
"threshold": 0
|
|
2851
|
+
},
|
|
2852
|
+
"etag": {
|
|
2853
|
+
"hash": false,
|
|
2854
|
+
"weak": false
|
|
2855
|
+
},
|
|
2856
|
+
"csp": false,
|
|
2857
|
+
"dist": {
|
|
2858
|
+
"index": false,
|
|
2859
|
+
"maxAge": "1y"
|
|
2860
|
+
},
|
|
2861
|
+
"fallback": {
|
|
2862
|
+
"dist": {},
|
|
2863
|
+
"static": {
|
|
2864
|
+
"skipUnknown": true,
|
|
2865
|
+
"handlers": {
|
|
2866
|
+
"": {
|
|
2867
|
+
"htm": false,
|
|
2868
|
+
"html": false
|
|
2869
|
+
}
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
},
|
|
2874
|
+
"router": {
|
|
2875
|
+
"mode": "history",
|
|
2876
|
+
"base": {},
|
|
2877
|
+
"_routerBaseSpecified": false,
|
|
2878
|
+
"routes": [],
|
|
2879
|
+
"routeNameSplitter": "-",
|
|
2880
|
+
"middleware": [],
|
|
2881
|
+
"linkActiveClass": "nuxt-link-active",
|
|
2882
|
+
"linkExactActiveClass": "nuxt-link-exact-active",
|
|
2883
|
+
"linkPrefetchedClass": false,
|
|
2884
|
+
"extendRoutes": null,
|
|
2885
|
+
"scrollBehavior": {},
|
|
2886
|
+
"parseQuery": false,
|
|
2887
|
+
"stringifyQuery": false,
|
|
2888
|
+
"fallback": false,
|
|
2889
|
+
"prefetchLinks": true,
|
|
2890
|
+
"prefetchPayloads": true,
|
|
2891
|
+
"trailingSlash": {}
|
|
2892
|
+
},
|
|
2893
|
+
"server": {
|
|
2894
|
+
"https": false,
|
|
2895
|
+
"port": 3000,
|
|
2896
|
+
"host": "localhost"
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
"type": "object"
|
|
2900
|
+
}
|