Skip to content

Commit fe4fefb

Browse files
Clarification with usage of axios in localhost/Dev
Documentation change after SimulatedGREG#387. This can save a lot of time for newer people in electron and vuejs.
1 parent 1c165f7 commit fe4fefb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/en/vue_accessories.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ electron-vue comes packed with the following `vue` plugins that can be installed
1414
> Promise based HTTP client for the browser and node.js
1515
1616
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.
17+
If you find CORS a blocker in develpment stage, add `webPreferences: {webSecurity: false}` option to the BrowserWindow definition.
1718

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

0 commit comments

Comments
 (0)