Nuxt/examples/axios/nuxt.config.js

10 lines
192 B
JavaScript
Raw Normal View History

2018-03-16 16:12:06 +00:00
export default {
2017-10-29 09:08:42 +00:00
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
]
}