pagekit / vue-resource

The HTTP client for Vue.js
MIT License
10.09k stars 1.6k forks source link

Update config.md #721

Open Ollynov opened 5 years ago

Ollynov commented 5 years ago

The following is not the first configuration step:

http: {
    root: 'http://localhost:3000/',
    headers: {
      Authorization: 'Basic YXBpOnBhc3N3b3Jk'
    }
  },

The first step is missing. Here are at least 50 people who wondered the same: https://github.com/vuejs-templates/webpack/issues/424