mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-28 00:22:05 +00:00
7c6e170a89
Co-authored-by: pooya parsa <pyapar@gmail.com>
22 lines
332 B
JavaScript
22 lines
332 B
JavaScript
export default {
|
|
target: 'static',
|
|
export: {
|
|
payload: {
|
|
config: true
|
|
}
|
|
},
|
|
router: {
|
|
// base: '/test'
|
|
},
|
|
hooks: {
|
|
export: {
|
|
before ({ setPayload }) {
|
|
setPayload({ shared: true })
|
|
},
|
|
route ({ route, setPayload }) {
|
|
setPayload({ myRoute: route })
|
|
}
|
|
}
|
|
}
|
|
}
|