Nuxt/test/fixtures/cli/nuxt.config.js

10 lines
230 B
JavaScript
Raw Normal View History

export default {
serverMiddleware: ['~/middleware.js'],
watch: ['~/custom.file'],
hooks(hook) {
hook('listen', (server, { port, host }) => {
process.stdout.write(`Listening on http://${host}:${port}`)
})
}
}