mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
31 lines
440 B
JavaScript
31 lines
440 B
JavaScript
|
export default {
|
||
|
target: 'static',
|
||
|
export: {
|
||
|
payload: {
|
||
|
config: true
|
||
|
}
|
||
|
},
|
||
|
router: {
|
||
|
// base: '/test',
|
||
|
},
|
||
|
generate: {
|
||
|
ignoreEnv: true
|
||
|
},
|
||
|
foo: {
|
||
|
shell: process.env.SHELL
|
||
|
},
|
||
|
env: {
|
||
|
x: 123
|
||
|
},
|
||
|
hooks: {
|
||
|
export: {
|
||
|
before ({ setPayload }) {
|
||
|
setPayload({ shared: true })
|
||
|
},
|
||
|
route ({ route, setPayload }) {
|
||
|
setPayload({ myRoute: route })
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|