Nuxt/examples/axios/nuxt.config.js

10 lines
194 B
JavaScript
Raw Normal View History

2017-10-29 09:08:42 +00:00
module.exports = {
modules: [
'@nuxtjs/axios',
'@nuxtjs/proxy'
],
proxy: [
2018-02-05 09:49:08 +00:00
['/dog', { target: 'https://dog.ceo/', pathRewrite: { '^/dog': '/api/breeds/image/random' } }]
2017-10-29 09:08:42 +00:00
]
}