Nuxt/test/fixtures/full-static/nuxt.config.js

23 lines
357 B
JavaScript
Raw Normal View History

export default {
target: 'static',
export: {
payload: {
config: true
}
},
router: {
// base: '/test',
trailingSlash: true
},
hooks: {
export: {
before ({ setPayload }) {
setPayload({ shared: true })
},
route ({ route, setPayload }) {
setPayload({ myRoute: route })
}
}
}
}