mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
25 lines
350 B
JavaScript
25 lines
350 B
JavaScript
export default {
|
|
mode: 'spa',
|
|
pageTransition: false,
|
|
render: {
|
|
http2: {
|
|
push: true
|
|
},
|
|
bundleRenderer: {
|
|
shouldPrefetch: () => true
|
|
}
|
|
},
|
|
build: {
|
|
filenames: {
|
|
app: '[name].js',
|
|
chunk: '[name].js'
|
|
}
|
|
},
|
|
router: {
|
|
middleware: 'middleware'
|
|
},
|
|
plugins: [
|
|
'~/plugins/error.js'
|
|
]
|
|
}
|