Skip to content

Commit

Permalink
Clarification with usage of axios in localhost/Dev
Browse files Browse the repository at this point in the history
Documentation change after SimulatedGREG#387.

This can save a lot of time for newer people in electron and vuejs.
  • Loading branch information
adrinicomartin committed Mar 2, 2018
1 parent 1c165f7 commit ae642d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/vue_accessories.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ electron-vue comes packed with the following `vue` plugins that can be installed
> Promise based HTTP client for the browser and node.js
If you are familiar with `vue-resource`, then `axios` will feel very familiar as most of the API is nearly identical. You can easily import `axios` in your `main` process scripts or use with `this.$http` & `Vue.http` in the `renderer` process.
If you find CORS a blocker in develpment stage, add `webPreferences: {webSecurity: false}` option to the BrowserWindow definition.

### [`vue-electron`](https://github.com/SimulatedGREG/vue-electron)

Expand Down

0 comments on commit ae642d1

Please sign in to comment.