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