mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 11:15:14 +00:00
25 lines
380 B
JavaScript
25 lines
380 B
JavaScript
export default {
|
|
target: 'static',
|
|
export: {
|
|
payload: {
|
|
config: true
|
|
}
|
|
},
|
|
router: {
|
|
// base: '/test',
|
|
},
|
|
build: {
|
|
publicPath: '/test/_nuxt/'
|
|
},
|
|
hooks: {
|
|
export: {
|
|
before ({ setPayload }) {
|
|
setPayload({ shared: true })
|
|
},
|
|
route ({ route, setPayload }) {
|
|
setPayload({ myRoute: route })
|
|
}
|
|
}
|
|
}
|
|
}
|