Skip to content

Instantly share code, notes, and snippets.

@gtalarico
Last active June 7, 2019 02:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save gtalarico/b58846e71c7d985958aa00393e411a0b to your computer and use it in GitHub Desktop.
Netlify Function Vue Config
// vue.config.js
module.exports = {
devServer: {
proxy: {
'^/.netlify': {
target: 'http://localhost:9000',
pathRewrite: { '^/.netlify/functions': '' }
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment