2020-05-12 11:05:24 +00:00
|
|
|
export default {
|
2020-05-27 14:51:51 +00:00
|
|
|
target: 'static',
|
|
|
|
export: {
|
|
|
|
payload: {
|
|
|
|
config: true
|
|
|
|
}
|
|
|
|
},
|
2020-06-10 07:51:29 +00:00
|
|
|
router: {
|
2020-07-27 09:01:24 +00:00
|
|
|
// base: '/test',
|
2020-08-26 09:57:12 +00:00
|
|
|
},
|
|
|
|
build: {
|
2020-11-14 22:10:16 +00:00
|
|
|
publicPath: 'https://cdn.nuxtjs.org/test/_nuxt/'
|
2020-06-10 07:51:29 +00:00
|
|
|
},
|
2020-10-14 08:30:44 +00:00
|
|
|
foo: {
|
|
|
|
shell: process.env.SHELL
|
|
|
|
},
|
|
|
|
env: {
|
|
|
|
x: 123
|
|
|
|
},
|
2020-05-27 14:51:51 +00:00
|
|
|
hooks: {
|
|
|
|
export: {
|
|
|
|
before ({ setPayload }) {
|
|
|
|
setPayload({ shared: true })
|
|
|
|
},
|
|
|
|
route ({ route, setPayload }) {
|
|
|
|
setPayload({ myRoute: route })
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-12 11:05:24 +00:00
|
|
|
}
|